summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/issue-19371/Makefile
blob: 994e50801c817102730bdd7a2736070faa928fe9 (plain)
1
2
3
4
5
6
7
8
9
include ../tools.mk

# This test ensures that rustc compile_input can be called twice in one task
# without causing a panic.
# The program needs the path to rustc to get sysroot.

all:
	$(RUSTC) foo.rs
	$(call RUN,foo $(TMPDIR) $(RUSTC))