From dc3461f3e98770cd373440dc0efefc805b5f53dc Mon Sep 17 00:00:00 2001 From: Wildan M Date: Sun, 5 Jul 2026 04:53:18 +0700 Subject: [PATCH] Set the test runner dynamically linked --- tests/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Makefile b/tests/Makefile index d061c4da77..46e38becfc 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -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