File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
tests/run-make/print-target-list Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ run-make/pgo-gen-lto/Makefile
53
53
run-make/pgo-indirect-call-promotion/Makefile
54
54
run-make/pointer-auth-link-with-c/Makefile
55
55
run-make/print-calling-conventions/Makefile
56
- run-make/print-target-list/Makefile
57
56
run-make/raw-dylib-alt-calling-convention/Makefile
58
57
run-make/raw-dylib-c/Makefile
59
58
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