Stub Init_builtin_zjit for --disable-zjit
This commit is contained in:
parent
31121a9107
commit
bb46bb781c
Notes:
git
2025-04-18 13:48:07 +00:00
5
vm.c
5
vm.c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user