From a245db8df8d69feca7c36b4824f26ee6f802721a Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Fri, 16 Oct 2020 13:44:09 -0400 Subject: [PATCH] Export MicroJIT global used in MJIT --- ujit_compile.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ujit_compile.h b/ujit_compile.h index f5507ce5e4..ae5126a5b5 100644 --- a/ujit_compile.h +++ b/ujit_compile.h @@ -10,7 +10,9 @@ typedef struct rb_iseq_struct rb_iseq_t; #define rb_iseq_t rb_iseq_t #endif +RUBY_SYMBOL_EXPORT_BEGIN extern bool rb_ujit_enabled; +RUBY_SYMBOL_EXPORT_END static inline bool rb_ujit_enabled_p(void)