From a7ef9a44a6e072bf3b72f2071195da661ddde8d1 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 19 May 2025 10:34:29 -0700 Subject: [PATCH] ZJIT: Propagate disasm feature to ZJIT and YJIT (#13372) Co-authored-by: Alan Wu --- Cargo.toml | 2 +- configure.ac | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 48ce497497..6ab7e3a45f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ crate-type = ["staticlib"] path = "jit.rs" [features] -disasm = [] +disasm = ["yjit?/disasm", "zjit?/disasm"] runtime_checks = [] yjit = [ "dep:yjit" ] zjit = [ "dep:zjit" ] diff --git a/configure.ac b/configure.ac index 3b4a031dd8..4b1be1311b 100644 --- a/configure.ac +++ b/configure.ac @@ -3972,6 +3972,7 @@ AS_CASE(["${ZJIT_SUPPORT}"], [yes], [ ], [dev], [ + rb_cargo_features="$rb_cargo_features,disasm" JIT_CARGO_SUPPORT=dev AC_DEFINE(RUBY_DEBUG, 1) ])