Skip to content

Commit 338b9c2

Browse files
committed
Enable YJIT by default
1 parent 2ef85c1 commit 338b9c2

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

configure.ac

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3897,19 +3897,6 @@ AS_IF([test "$cross_compiling" = no],
38973897
)
38983898
)
38993899

3900-
dnl build YJIT in release mode if rustc >= 1.58.0 is present and we are on a supported platform
3901-
AC_ARG_ENABLE(yjit,
3902-
AS_HELP_STRING([--enable-yjit],
3903-
[enable in-process JIT compiler that requires Rust build tools. enabled by default on supported platforms if rustc 1.58.0+ is available]),
3904-
[YJIT_SUPPORT=$enableval],
3905-
[AS_CASE(["$JIT_TARGET_OK:$JIT_RUSTC_OK:$ZJIT_SUPPORT"],
3906-
[yes:yes:no], [
3907-
YJIT_SUPPORT=yes
3908-
],
3909-
[YJIT_SUPPORT=no]
3910-
)]
3911-
)
3912-
39133900
dnl build ZJIT in release mode if rustc >= 1.58.0 is present and we are on a supported platform
39143901
AC_ARG_ENABLE(zjit,
39153902
AS_HELP_STRING([--enable-zjit],
@@ -3923,6 +3910,19 @@ AC_ARG_ENABLE(zjit,
39233910
)]
39243911
)
39253912

3913+
dnl build YJIT in release mode if rustc >= 1.58.0 is present and we are on a supported platform
3914+
AC_ARG_ENABLE(yjit,
3915+
AS_HELP_STRING([--enable-yjit],
3916+
[enable in-process JIT compiler that requires Rust build tools. enabled by default on supported platforms if rustc 1.58.0+ is available]),
3917+
[YJIT_SUPPORT=$enableval],
3918+
[AS_CASE(["$JIT_TARGET_OK:$JIT_RUSTC_OK:$ZJIT_SUPPORT"],
3919+
[yes:yes:no], [
3920+
YJIT_SUPPORT=yes
3921+
],
3922+
[YJIT_SUPPORT=no]
3923+
)]
3924+
)
3925+
39263926
CARGO=
39273927
CARGO_BUILD_ARGS=
39283928
YJIT_LIBS=

0 commit comments

Comments
 (0)