We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a60e47 commit 857b19dCopy full SHA for 857b19d
src/test/run-make/issue-10971-temps-dir/Makefile
@@ -0,0 +1,8 @@
1
+# Regression test for issue #10971
2
+# Running two invocations in parallel would overwrite each other's temp files.
3
+
4
+all:
5
+ touch $(TMPDIR)/lib.rs
6
7
+ $(RUSTC) --crate-type=lib --temps-dir=$(TMPDIR)/temp1 --out-dir=$(TMPDIR) $(TMPDIR)/lib.rs \
8
+ & $(RUSTC) --crate-type=cdylib --temps-dir=$(TMPDIR)/temp2 --out-dir=$(TMPDIR) $(TMPDIR)/lib.rs
0 commit comments