diff options
author | Takashi Kokubun <[email protected]> | 2025-03-13 16:18:47 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2025-04-18 21:53:00 +0900 |
commit | bb46bb781c529477f1cc8e0de64a602f0607a393 (patch) | |
tree | c488977e9c61744e21e12c172aad6c3caae47fae | |
parent | 31121a9107f01a7cee798baf9c68548863cf0d5c (diff) |
Stub Init_builtin_zjit for --disable-zjit
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13131
-rw-r--r-- | vm.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4472,6 +4472,11 @@ void Init_builtin_yjit(void) {} // Whether YJIT is enabled or not, we load yjit_hook.rb to remove Kernel#with_yjit. #include "yjit_hook.rbinc" +// Stub for builtin function when not building ZJIT units +#if !USE_ZJIT +void Init_builtin_zjit(void) {} +#endif + /* top self */ static VALUE |