File tree 3 files changed +10
-9
lines changed
tests/run-make/print-target-list
3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ run-make/pdb-buildinfo-cl-cmd/Makefile
26
26
run-make/pgo-gen-lto/Makefile
27
27
run-make/pgo-indirect-call-promotion/Makefile
28
28
run-make/print-calling-conventions/Makefile
29
- run-make/print-target-list/Makefile
30
29
run-make/raw-dylib-alt-calling-convention/Makefile
31
30
run-make/raw-dylib-c/Makefile
32
31
run-make/redundant-libs/Makefile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ //! Check that all targets returned by `--print target-list` are valid target specifications.
2
+
3
+ use run_make_support:: bare_rustc;
4
+
5
+ fn main ( ) {
6
+ let targets = bare_rustc ( ) . print ( "target-list" ) . run ( ) . stdout_utf8 ( ) ;
7
+ for target in targets. lines ( ) {
8
+ bare_rustc ( ) . target ( target) . print ( "sysroot" ) . run ( ) ;
9
+ }
10
+ }
You can’t perform that action at this time.
0 commit comments