--- ruby-3.4.6.old/ruby.c +++ ruby-3.4.6/ruby.c @@ -1459,8 +1459,6 @@ else if (strcmp("jit", s) == 0) { #if USE_YJIT || USE_RJIT FEATURE_SET(opt->features, FEATURE_BIT(jit)); -#else - rb_warn("Ruby was built without JIT support"); #endif } else if (is_option_with_optarg("rjit", '-', true, false, false)) { @@ -1468,17 +1466,12 @@ extern void rb_rjit_setup_options(const char *s, struct rb_rjit_options *rjit_opt); FEATURE_SET(opt->features, FEATURE_BIT(rjit)); rb_rjit_setup_options(s, &opt->rjit); -#else - rb_warn("RJIT support is disabled."); #endif } else if (is_option_with_optarg("yjit", '-', true, false, false)) { #if USE_YJIT FEATURE_SET(opt->features, FEATURE_BIT(yjit)); setup_yjit_options(s); -#else - 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) {