Stub Init_builtin_zjit for --disable-zjit

This commit is contained in:
Takashi Kokubun 2025-03-13 16:18:47 -07:00
parent 31121a9107
commit bb46bb781c
Notes: git 2025-04-18 13:48:07 +00:00

5
vm.c
View File

@ -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