mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
ZJIT: Look for RUBY_ZJIT_ENABLE in combo build with YJIT
This commit is contained in:
parent
88d71eb04d
commit
fdb831fdfc
2 changed files with 10 additions and 1 deletions
3
ruby.c
3
ruby.c
|
@ -2354,7 +2354,8 @@ process_options(int argc, char **argv, ruby_cmdline_options_t *opt)
|
|||
if (!FEATURE_USED_P(opt->features, yjit) && env_var_truthy("RUBY_YJIT_ENABLE")) {
|
||||
FEATURE_SET(opt->features, FEATURE_BIT(yjit));
|
||||
}
|
||||
#elif USE_ZJIT
|
||||
#endif
|
||||
#if USE_ZJIT
|
||||
if (!FEATURE_USED_P(opt->features, zjit) && env_var_truthy("RUBY_ZJIT_ENABLE")) {
|
||||
FEATURE_SET(opt->features, FEATURE_BIT(zjit));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue