diff --git a/tests/Makefile b/tests/Makefile index 46e38becfc..265c149c1f 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -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