ZJIT: Propagate disasm feature to ZJIT and YJIT (#13372)
Co-authored-by: Alan Wu <alansi.xingwu@shopify.com>
This commit is contained in:
parent
93ce95d46c
commit
a7ef9a44a6
Notes:
git
2025-05-19 17:34:44 +00:00
Merged-By: k0kubun <takashikkbn@gmail.com>
@ -21,7 +21,7 @@ crate-type = ["staticlib"]
|
|||||||
path = "jit.rs"
|
path = "jit.rs"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
disasm = []
|
disasm = ["yjit?/disasm", "zjit?/disasm"]
|
||||||
runtime_checks = []
|
runtime_checks = []
|
||||||
yjit = [ "dep:yjit" ]
|
yjit = [ "dep:yjit" ]
|
||||||
zjit = [ "dep:zjit" ]
|
zjit = [ "dep:zjit" ]
|
||||||
|
@ -3972,6 +3972,7 @@ AS_CASE(["${ZJIT_SUPPORT}"],
|
|||||||
[yes], [
|
[yes], [
|
||||||
],
|
],
|
||||||
[dev], [
|
[dev], [
|
||||||
|
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)
|
||||||
])
|
])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user