File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed
tests/run-make/print-target-list Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,6 @@ run-make/pgo-gen-lto/Makefile
8989run-make/pgo-gen-no-imp-symbols/Makefile
9090run-make/pgo-indirect-call-promotion/Makefile
9191run-make/pointer-auth-link-with-c/Makefile
92- run-make/print-target-list/Makefile
9392run-make/raw-dylib-alt-calling-convention/Makefile
9493run-make/raw-dylib-c/Makefile
9594run-make/raw-dylib-import-name-type/Makefile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // Checks that all the targets returned by `rustc --print target-list` are valid
2+ // target specifications
3+
4+ use run_make_support:: rustc:: Rustc ;
5+
6+ fn main ( ) {
7+ let targets = Rustc :: bare ( ) . print ( "target-list" ) . run ( ) . stdout_utf8 ( ) ;
8+
9+ for target in targets. split_whitespace ( ) {
10+ Rustc :: bare ( ) . target ( target) . print ( "sysroot" ) . run ( ) ;
11+ }
12+ }
You can’t perform that action at this time.
0 commit comments