summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/issue-19371/Makefile
blob: 9f3ec78465b259706af6e09198447078cbbfa058 (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))