Update YJIT warning, mention need to install rustc (#6873)
This commit is contained in:
parent
3bb7a40160
commit
9350c2b12f
Notes:
git
2022-12-07 20:03:04 +00:00
Merged-By: maximecb <maximecb@ruby-lang.org>
3
ruby.c
3
ruby.c
@ -1508,7 +1508,8 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt)
|
|||||||
FEATURE_SET(opt->features, FEATURE_BIT(yjit));
|
FEATURE_SET(opt->features, FEATURE_BIT(yjit));
|
||||||
setup_yjit_options(s);
|
setup_yjit_options(s);
|
||||||
#else
|
#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
|
#endif
|
||||||
}
|
}
|
||||||
else if (strcmp("yydebug", s) == 0) {
|
else if (strcmp("yydebug", s) == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user