about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTor Hovland <tor.hovland@bekk.no>2021-11-10 08:25:35 +0100
committerTor Hovland <tor.hovland@bekk.no>2021-11-10 08:25:35 +0100
commit1793a7acc74f5581febf5822923f8f38c63e8f2a (patch)
tree0daacb0c80c2adf2a05b3263cf289e745c8ad69b
parent13dbdc6ad30a6584f02c723ce3f7447237c97b17 (diff)
Changing cdylib to staticlib, as the former doesn't work with arm-none-eabi-gcc.
-rw-r--r--src/test/run-make/issue-10971-temps-dir/Makefile5
1 files changed, 1 insertions, 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