summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2025-07-15 17:16:57 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2025-07-16 14:10:22 -0400
commit5ee3937a9c8f75d07f4919f64decd0b850abefe0 (patch)
tree4c440f0781d32bb95480c0f45f55f6396d7864ad /template
parentea81e7b8b747ca2a7b19aabfa3711b4d33c133b1 (diff)
ZJIT: Have `make zjit-test` use the same Cargo features as miniruby
This is so that e.g. building with `--enable-zjit=dev` will test with the disassembly feature. It makes more sense, saves on build time and reveals that `backend::arm64::tests::sp_movements_are_single_instruction` was in fact failing with the `disasm` feature.
Diffstat (limited to 'template')
-rw-r--r--template/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/Makefile.in b/template/Makefile.in
index 96c8d8031b..1e6d55c435 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -113,6 +113,7 @@ ZJIT_OBJ=@ZJIT_OBJ@
JIT_CARGO_SUPPORT=@JIT_CARGO_SUPPORT@
CARGO_TARGET_DIR=@abs_top_builddir@/target
CARGO_BUILD_ARGS=@CARGO_BUILD_ARGS@
+ZJIT_TEST_FEATURES=@ZJIT_TEST_FEATURES@
RUST_LIB=@RUST_LIB@
RUST_LIBOBJ = $(RUST_LIB:.a=.@OBJEXT@)
LDFLAGS = @STATIC@ $(CFLAGS) @LDFLAGS@