rust/src/test/run-make-fulldeps/print-target-list/Makefile

9 lines
253 B
Makefile
Raw Normal View History

-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