File tree 3 files changed +12
-9
lines changed
tests/run-make/print-target-list
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
89
89
run-make/pgo-gen-no-imp-symbols/Makefile
90
90
run-make/pgo-indirect-call-promotion/Makefile
91
91
run-make/pointer-auth-link-with-c/Makefile
92
- run-make/print-target-list/Makefile
93
92
run-make/raw-dylib-alt-calling-convention/Makefile
94
93
run-make/raw-dylib-c/Makefile
95
94
run-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:: bare_rustc;
5
+
6
+ fn main ( ) {
7
+ let targets = bare_rustc ( ) . print ( "target-list" ) . run ( ) . stdout_utf8 ( ) ;
8
+
9
+ for target in targets. split_whitespace ( ) {
10
+ bare_rustc ( ) . target ( target) . print ( "sysroot" ) . run ( ) ;
11
+ }
12
+ }
You can’t perform that action at this time.
0 commit comments