Skip to content

Commit a7ef9a4

Browse files
k0kubunXrXr
andauthored
ZJIT: Propagate disasm feature to ZJIT and YJIT (#13372)
Co-authored-by: Alan Wu <[email protected]>
1 parent 93ce95d commit a7ef9a4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ crate-type = ["staticlib"]
2121
path = "jit.rs"
2222

2323
[features]
24-
disasm = []
24+
disasm = ["yjit?/disasm", "zjit?/disasm"]
2525
runtime_checks = []
2626
yjit = [ "dep:yjit" ]
2727
zjit = [ "dep:zjit" ]

configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3972,6 +3972,7 @@ AS_CASE(["${ZJIT_SUPPORT}"],
39723972
[yes], [
39733973
],
39743974
[dev], [
3975+
rb_cargo_features="$rb_cargo_features,disasm"
39753976
JIT_CARGO_SUPPORT=dev
39763977
AC_DEFINE(RUBY_DEBUG, 1)
39773978
])

0 commit comments

Comments
 (0)