Skip to content

Commit 9350c2b

Browse files
authored
Update YJIT warning, mention need to install rustc (#6873)
1 parent 3bb7a40 commit 9350c2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ruby.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1508,7 +1508,8 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt)
15081508
FEATURE_SET(opt->features, FEATURE_BIT(yjit));
15091509
setup_yjit_options(s);
15101510
#else
1511-
rb_warn("Ruby was built without YJIT support");
1511+
rb_warn("Ruby was built without YJIT support."
1512+
" You may need to install rustc to build Ruby with YJIT.");
15121513
#endif
15131514
}
15141515
else if (strcmp("yydebug", s) == 0) {

0 commit comments

Comments
 (0)