]> git.proxmox.com Git - rustc.git/blame - tests/run-make/issue-10971-temps-dir/Makefile
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / run-make / issue-10971-temps-dir / Makefile
CommitLineData
353b0b11 1include ../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
6all:
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