ZJIT: Add --enable-zjit=dev_nodebug (#13456)
This commit is contained in:
parent
9a1d6cc799
commit
cce89a6f69
Notes:
git
2025-05-28 21:20:23 +00:00
Merged-By: k0kubun <takashikkbn@gmail.com>
@ -3963,7 +3963,7 @@ AS_CASE(["${YJIT_SUPPORT}"],
|
|||||||
|
|
||||||
ZJIT_LIBS=
|
ZJIT_LIBS=
|
||||||
AS_CASE(["${ZJIT_SUPPORT}"],
|
AS_CASE(["${ZJIT_SUPPORT}"],
|
||||||
[yes|dev], [
|
[yes|dev|dev_nodebug], [
|
||||||
AS_IF([test x"$RUSTC" = "xno"],
|
AS_IF([test x"$RUSTC" = "xno"],
|
||||||
AC_MSG_ERROR([rustc is required. Installation instructions available at https://www.rust-lang.org/tools/install])
|
AC_MSG_ERROR([rustc is required. Installation instructions available at https://www.rust-lang.org/tools/install])
|
||||||
)
|
)
|
||||||
@ -3975,6 +3975,10 @@ AS_CASE(["${ZJIT_SUPPORT}"],
|
|||||||
rb_cargo_features="$rb_cargo_features,disasm"
|
rb_cargo_features="$rb_cargo_features,disasm"
|
||||||
JIT_CARGO_SUPPORT=dev
|
JIT_CARGO_SUPPORT=dev
|
||||||
AC_DEFINE(RUBY_DEBUG, 1)
|
AC_DEFINE(RUBY_DEBUG, 1)
|
||||||
|
],
|
||||||
|
[dev_nodebug], [
|
||||||
|
rb_cargo_features="$rb_cargo_features,disasm"
|
||||||
|
JIT_CARGO_SUPPORT=dev_nodebug
|
||||||
])
|
])
|
||||||
|
|
||||||
ZJIT_LIBS="target/release/libzjit.a"
|
ZJIT_LIBS="target/release/libzjit.a"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user