From 5ee3937a9c8f75d07f4919f64decd0b850abefe0 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Tue, 15 Jul 2025 17:16:57 -0400 Subject: 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. --- template/Makefile.in | 1 + 1 file changed, 1 insertion(+) (limited to 'template') 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@ -- cgit v1.2.3