]>
Commit | Line | Data |
---|---|---|
353b0b11 | 1 | include ../tools.mk |
3c0e092e XL |
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 -Z temps-dir=$(TMPDIR)/temp1 $(TMPDIR)/lib.rs & \ | |
10 | $(RUSTC) --crate-type=staticlib -Z temps-dir=$(TMPDIR)/temp2 $(TMPDIR)/lib.rs |