summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2021-09-08 09:35:23 -0700
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:40 -0400
commitea453acf596ba436838ce17809c1cf6dc70fa738 (patch)
tree18ac05590838fb791345060a77757761f2f94173 /ruby.c
parent44214e8ad9e8ba1adf704c8231b4ecced77d3b7a (diff)
disable MJIT when --enable-all is set
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby.c b/ruby.c
index 3ecbff8170..bf161f6df7 100644
--- a/ruby.c
+++ b/ruby.c
@@ -925,6 +925,7 @@ feature_option(const char *str, int len, void *arg, const unsigned int enable)
if (NAME_MATCH_P(#bit, str, len)) {set |= mask = FEATURE_BIT(bit); FEATURE_FOUND;}
EACH_FEATURES(SET_FEATURE, ;);
if (NAME_MATCH_P("all", str, len)) {
+ mask &= ~(FEATURE_BIT(jit));
goto found;
}
#if AMBIGUOUS_FEATURE_NAMES