summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/print-target-list/Makefile
blob: 5f10f2aa3b0f419836efb67d7a4f23bbdc5c5def (plain)
1
2
3
4
5
6
7
8
-include ../tools.mk

# Checks that all the targets returned by `rustc --print target-list` are valid
# target specifications
all:
	for target in $(shell $(BARE_RUSTC) --print target-list); do \
		$(BARE_RUSTC) --target $$target --print sysroot; \
	done