summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2025-04-18 18:41:32 +0900
committerTakashi Kokubun <[email protected]>2025-04-18 21:53:01 +0900
commit338b9c20649d860659bb66e57a57a59257ad4a77 ()
tree0c26219735cb8a752ffad2c84f8590c1af7dc070 /configure.ac
parent2ef85c12fb38ff1e04657fe8de7b702c280e8e01 (diff)
Enable YJIT by default
Notes: Merged: https://.com/ruby/ruby/pull/13131
-rw-r--r--configure.ac26
1 files changed, 13 insertions, 13 deletions
@@ -3897,19 +3897,6 @@ AS_IF([test "$cross_compiling" = no],
)
)
-dnl build YJIT in release mode if rustc >= 1.58.0 is present and we are on a supported platform
-AC_ARG_ENABLE(yjit,
- AS_HELP_STRING([--enable-yjit],
- [enable in-process JIT compiler that requires Rust build tools. enabled by default on supported platforms if rustc 1.58.0+ is available]),
- [YJIT_SUPPORT=$enableval],
- [AS_CASE(["$JIT_TARGET_OK:$JIT_RUSTC_OK:$ZJIT_SUPPORT"],
- [yes:yes:no], [
- YJIT_SUPPORT=yes
- ],
- [YJIT_SUPPORT=no]
- )]
-)
-
dnl build ZJIT in release mode if rustc >= 1.58.0 is present and we are on a supported platform
AC_ARG_ENABLE(zjit,
AS_HELP_STRING([--enable-zjit],
@@ -3923,6 +3910,19 @@ AC_ARG_ENABLE(zjit,
)]
)
CARGO=
CARGO_BUILD_ARGS=
YJIT_LIBS=