From 1793a7acc74f5581febf5822923f8f38c63e8f2a Mon Sep 17 00:00:00 2001 From: Tor Hovland Date: Wed, 10 Nov 2021 08:25:35 +0100 Subject: [PATCH] Changing cdylib to staticlib, as the former doesn't work with arm-none-eabi-gcc. --- src/test/run-make/issue-10971-temps-dir/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/test/run-make/issue-10971-temps-dir/Makefile b/src/test/run-make/issue-10971-temps-dir/Makefile index f062e652a04..5ce27192603 100644 --- a/src/test/run-make/issue-10971-temps-dir/Makefile +++ b/src/test/run-make/issue-10971-temps-dir/Makefile @@ -3,11 +3,8 @@ # Regression test for issue #10971 # Running two invocations in parallel would overwrite each other's temp files. -## clean up unused env variables which might cause harm. -unexport RUSTC_LINKER - all: touch $(TMPDIR)/lib.rs $(RUSTC) --crate-type=lib -Z temps-dir=$(TMPDIR)/temp1 $(TMPDIR)/lib.rs & \ - $(RUSTC) --crate-type=cdylib -Z temps-dir=$(TMPDIR)/temp2 $(TMPDIR)/lib.rs + $(RUSTC) --crate-type=staticlib -Z temps-dir=$(TMPDIR)/temp2 $(TMPDIR)/lib.rs