]> git.lizzy.rs Git - rust.git/blob - tests/run-make/issue-10971-temps-dir/Makefile
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[rust.git] / tests / run-make / issue-10971-temps-dir / Makefile
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 -Z temps-dir=$(TMPDIR)/temp1 $(TMPDIR)/lib.rs & \
10         $(RUSTC) --crate-type=staticlib -Z temps-dir=$(TMPDIR)/temp2 $(TMPDIR)/lib.rs