We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b378f0 commit d4bcee9Copy full SHA for d4bcee9
src/test/run-make/issue-10971-temps-dir/Makefile
@@ -0,0 +1,10 @@
1
+include ../../run-make-fulldeps/tools.mk
2
+
3
+# Regression test for issue #10971
4
+# Running two invocations in parallel would overwrite each other's temp files.
5
6
+all:
7
+ touch $(TMPDIR)/lib.rs
8
9
+ $(RUSTC) --crate-type=lib --temps-dir=$(TMPDIR)/temp1 $(TMPDIR)/lib.rs & \
10
+ $(RUSTC) --crate-type=cdylib --temps-dir=$(TMPDIR)/temp2 $(TMPDIR)/lib.rs
0 commit comments