Set the test runner dynamically linked

This commit is contained in:
Wildan M
2026-07-05 04:53:18 +07:00
parent fef4343580
commit dc3461f3e9
+2 -1
View File
@@ -43,7 +43,8 @@ run-once: $(BUILD)/bins_verify/relibc-tests $(BUILD)/$(TESTBIN) support_build
$(BUILD)/bins_verify/relibc-tests: src/main.rs
mkdir -p $(BUILD)/bins_verify
$(CARGO_TEST) build --release --bin relibc-tests --artifact-dir $(BUILD)/bins_verify --target-dir $(BUILD)/target -Z unstable-options
RUSTFLAGS="-C target-feature=-crt-static" $(CARGO_TEST) build --release --bin relibc-tests \
--artifact-dir $(BUILD)/bins_verify --target-dir $(BUILD)/target -Z unstable-options
rm -rf $(BUILD)/target
$(BUILD)/Makefile: Makefile.run.mk