summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2021-12-01 12:46:30 -0800
committerAaron Patterson <tenderlove@ruby-lang.org>2021-12-01 12:46:30 -0800
commit3b2b28d035c9635b9473c7a03ede04fa6ac57a34 (patch)
tree421c04f3ce6942654c55a86ad6a21399162b0870 /ruby.c
parent4079f0da51c1e226ce6e09597e32ab116d1c7812 (diff)
Revert "Force disable yjit on OpenBSD"
This reverts commit 119626da947bf6492ef7a27abf3bf12de5d0d95a.
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ruby.c b/ruby.c
index c04810acf3..b9ed1ae89c 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1884,12 +1884,6 @@ process_options(int argc, char **argv, ruby_cmdline_options_t *opt)
*/
rb_warning("-K is specified; it is for 1.8 compatibility and may cause odd behavior");
-#ifdef __OpenBSD__
- /* Disable yjit on OpenBSD, stops --enable-all from failing with:
- mmap call failed: Not supported */
- opt->features.set &= ~FEATURE_BIT(yjit);
-#endif
-
#if USE_MJIT
if (opt->features.set & FEATURE_BIT(jit)) {
opt->mjit.on = TRUE; /* set mjit.on for ruby_show_version() API and check to call mjit_init() */