summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2022-12-07 15:02:45 -0500
committerGitHub <noreply@github.com>2022-12-07 15:02:45 -0500
commit9350c2b12f308e8a3676630460e3aa0ae38f8b47 (patch)
treec06ad4de38c29973c296869a6ad6679962659da6 /ruby.c
parent3bb7a401600d37b569a6da6a2be82bcd84eac37f (diff)
downloadruby-9350c2b12f308e8a3676630460e3aa0ae38f8b47.tar.gz
Update YJIT warning, mention need to install rustc (#6873)
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index b29f29e1f7..9324a6c27f 100644
--- a/ruby.c
+++ b/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));
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) {