rust/tests/run-make/print-target-list/Makefile
2023-03-30 07:34:55 -05:00

9 lines
253 B
Makefile

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