fix(tests): specify target for test runner

Fixes the issue where `relibc-tests-runner` fails to run on Redox.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
Anhad Singh
2026-07-14 21:23:04 +10:00
parent 134ec45ceb
commit 46968c7d29
+2 -1
View File
@@ -44,7 +44,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
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
--artifact-dir $(BUILD)/bins_verify --target-dir $(BUILD)/target -Z unstable-options \
--target $(TARGET)
rm -rf $(BUILD)/target
$(BUILD)/Makefile: Makefile.run.mk