about summary refs log tree commit diff
diff options
context:
space:
mode:
-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