diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2025-08-12 18:10:44 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2025-08-14 15:38:52 -0400 |
| commit | fdb831fdfcbf1b6653a20f6e8ea7d8caa58ec4b8 (patch) | |
| tree | 9f4288d6cdeb62a24fe5cef2b4983629ff3072cf /ruby.c | |
| parent | 88d71eb04da9de34495c4cffcd2e234dd9ec96f9 (diff) | |
ZJIT: Look for RUBY_ZJIT_ENABLE in combo build with YJIT
Diffstat (limited to 'ruby.c')
| -rw-r--r-- | ruby.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)); } |
