Update YJIT warning, mention need to install rustc (#6873)

This commit is contained in:
Maxime Chevalier-Boisvert 2022-12-07 15:02:45 -05:00 committed by GitHub
parent 3bb7a40160
commit 9350c2b12f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2022-12-07 20:03:04 +00:00
Merged-By: maximecb <maximecb@ruby-lang.org>

3
ruby.c
View File

@ -1508,7 +1508,8 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt)
FEATURE_SET(opt->features, FEATURE_BIT(yjit));
setup_yjit_options(s);
#else
rb_warn("Ruby was built without YJIT support");
rb_warn("Ruby was built without YJIT support."
" You may need to install rustc to build Ruby with YJIT.");
#endif
}
else if (strcmp("yydebug", s) == 0) {