]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/print-target-list/Makefile
Fix an sh error
[rust.git] / src / test / run-make-fulldeps / print-target-list / Makefile
1 -include ../tools.mk
2
3 # Checks that all the targets returned by `rustc --print target-list` are valid
4 # target specifications
5 all:
6         for target in $(shell $(BARE_RUSTC) --print target-list); do \
7                 $(BARE_RUSTC) --target $$target --print sysroot; \
8         done