Skip to content

Commit cce89a6

Browse files
authored
ZJIT: Add --enable-zjit=dev_nodebug (ruby#13456)
1 parent 9a1d6cc commit cce89a6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

configure.ac

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3963,7 +3963,7 @@ AS_CASE(["${YJIT_SUPPORT}"],
39633963

39643964
ZJIT_LIBS=
39653965
AS_CASE(["${ZJIT_SUPPORT}"],
3966-
[yes|dev], [
3966+
[yes|dev|dev_nodebug], [
39673967
AS_IF([test x"$RUSTC" = "xno"],
39683968
AC_MSG_ERROR([rustc is required. Installation instructions available at https://www.rust-lang.org/tools/install])
39693969
)
@@ -3975,6 +3975,10 @@ AS_CASE(["${ZJIT_SUPPORT}"],
39753975
rb_cargo_features="$rb_cargo_features,disasm"
39763976
JIT_CARGO_SUPPORT=dev
39773977
AC_DEFINE(RUBY_DEBUG, 1)
3978+
],
3979+
[dev_nodebug], [
3980+
rb_cargo_features="$rb_cargo_features,disasm"
3981+
JIT_CARGO_SUPPORT=dev_nodebug
39783982
])
39793983
39803984
ZJIT_LIBS="target/release/libzjit.a"

0 commit comments

Comments
 (0)