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 @@ -64,7 +64,6 @@ run-make/pgo-gen-no-imp-symbols/Makefile
64
64
run-make/pgo-indirect-call-promotion/Makefile
65
65
run-make/pointer-auth-link-with-c/Makefile
66
66
run-make/print-calling-conventions/Makefile
67
- run-make/print-target-list/Makefile
68
67
run-make/raw-dylib-alt-calling-convention/Makefile
69
68
run-make/raw-dylib-c/Makefile
70
69
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
+ //! 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