summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/save-analysis-rfc2126/Makefile
blob: 30f57034bba55b5acc1b5882cb6943c0c901c7a8 (plain)
1
2
3
4
5
6
7
8
include ../tools.mk

all: extern_absolute_paths.rs krate2
	$(RUSTC) extern_absolute_paths.rs -Zsave-analysis --edition=2018 --extern krate2
	cat $(TMPDIR)/save-analysis/extern_absolute_paths.json | "$(PYTHON)" validate_json.py

krate2: krate2.rs
	$(RUSTC) $<