aboutsummaryrefslogtreecommitdiffhomepage
path: root/meson.build
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2022-12-03 11:26:23 -0600
committerCalvin Rose <calsrose@gmail.com>2022-12-03 11:26:23 -0600
commit7a3d055012a9cc247529ef22979bdf94d62a885d (patch)
tree97003031477fa4082c3768e9118aee4c3dac84f2 /meson.build
parentFormat compile.c (diff)
Add ffi/jitfn for JIT compilation.
Convert a byte sequence of machine code to an an executable pointer that can be used with ffi/call.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index f6ffee70..30c6a22d 100644
--- a/meson.build
+++ b/meson.build
@@ -77,6 +77,7 @@ conf.set('JANET_EV_NO_EPOLL', not get_option('epoll'))
conf.set('JANET_EV_NO_KQUEUE', not get_option('kqueue'))
conf.set('JANET_NO_INTERPRETER_INTERRUPT', not get_option('interpreter_interrupt'))
conf.set('JANET_NO_FFI', not get_option('ffi'))
+conf.set('JANET_NO_FFI_JIT', not get_option('ffi_jit'))
if get_option('os_name') != ''
conf.set('JANET_OS_NAME', get_option('os_name'))
endif