mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-04 22:15:33 +02:00
Force JIT for Ruby > 3
This commit is contained in:
parent
ec8b4d8160
commit
69ab476b26
1 changed files with 1 additions and 1 deletions
|
@ -788,7 +788,7 @@ static void mriBindingExecute() {
|
||||||
rb_eval_string("$KCODE='U'");
|
rb_eval_string("$KCODE='U'");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef JIT
|
#if RAPI_FULL >= 300 || defined(MKXPZ_JIT)
|
||||||
const char* rboptions[] = {"", "--disable-gems", "--jit-verbose=1", "--jit-max-cache=100", "--jit-min-calls=100000", "-e "};
|
const char* rboptions[] = {"", "--disable-gems", "--jit-verbose=1", "--jit-max-cache=100", "--jit-min-calls=100000", "-e "};
|
||||||
void* node = ruby_process_options(6, const_cast<char**>(rboptions));
|
void* node = ruby_process_options(6, const_cast<char**>(rboptions));
|
||||||
int state;
|
int state;
|
||||||
|
|
Loading…
Add table
Reference in a new issue