summaryrefslogtreecommitdiffstats
path: root/src/test/run-make/dep-graph/Makefile
blob: ae97b1672ae27cbed473a65d6368c93722f02ac2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
include ../../run-make-fulldeps/tools.mk

# ignore-cross-compile

# Just verify that we successfully run and produce dep graphs when requested.

all:
	RUST_DEP_GRAPH=$(TMPDIR)/dep-graph $(RUSTC) \
        -Cincremental=$(TMPDIR)/incr \
        -Zquery-dep-graph -Zdump-dep-graph foo.rs
	test -f $(TMPDIR)/dep-graph.txt
	test -f $(TMPDIR)/dep-graph.dot