Update ruby.c

This commit is contained in:
Maxime Chevalier-Boisvert 2021-09-07 13:04:31 -07:00 committed by Alan Wu
parent 234ab816ba
commit a1d42c37f4

2
ruby.c
View File

@ -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);