summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2020-09-28 17:05:07 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:24 -0400
commita8d784888dd75abefa468e7b0a266be06c31248c (patch)
treed7f472ce6cd1b1892ad99a37573513e45e531a6b /ruby.c
parent2c866ce8f0ff45e8d6d2941df174a2effe12a2dc (diff)
Fix mistake in ujit command line parsing
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index ace1e99fcc..97498e4ef4 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1441,7 +1441,7 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt)
#endif
}
else if (strncmp("ujit", s, 4) == 0) {
- FEATURE_SET(opt->features, FEATURE_BIT(jit));
+ FEATURE_SET(opt->features, FEATURE_BIT(ujit));
}
else if (strcmp("yydebug", s) == 0) {
if (envopt) goto noenvopt_long;