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.
This commit is contained in:
Alan Wu 2025-07-15 17:16:57 -04:00
parent ea81e7b8b7
commit 5ee3937a9c
5 changed files with 20 additions and 8 deletions

View file

@ -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@