From 9350c2b12f308e8a3676630460e3aa0ae38f8b47 Mon Sep 17 00:00:00 2001 From: Maxime Chevalier-Boisvert Date: Wed, 7 Dec 2022 15:02:45 -0500 Subject: [PATCH] Update YJIT warning, mention need to install rustc (#6873) --- ruby.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {