]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/print-target-list/Makefile
Rollup merge of #48270 - leodasvacas:refactor-casts, r=nikomatsakis
[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 # TODO remove the '*ios*' case when rust-lang/rust#29812 is fixed
6 all:
7         for target in $(shell $(BARE_RUSTC) --print target-list); do \
8                 case $$target in \
9                         *ios*) \
10                                 ;; \
11                         *) \
12                                 $(BARE_RUSTC) --target $$target --print sysroot \
13                                 ;; \
14                         esac \
15         done