Update ruby.c
This commit is contained in:
parent
234ab816ba
commit
a1d42c37f4
2
ruby.c
2
ruby.c
@ -1841,7 +1841,7 @@ process_options(int argc, char **argv, ruby_cmdline_options_t *opt)
|
||||
#endif
|
||||
if (opt->features.set & FEATURE_BIT(yjit)) {
|
||||
if (opt->mjit.on) {
|
||||
rb_warn("MJIT and YJIT are both enabled at the same time. Exiting");
|
||||
rb_warn("MJIT and YJIT cannot both be enabled at the same time. Exiting");
|
||||
exit(1);
|
||||
}
|
||||
rb_yjit_init(&opt->yjit);
|
||||
|
Loading…
x
Reference in New Issue
Block a user