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
5353run-make/pgo-indirect-call-promotion/Makefile
5454run-make/pointer-auth-link-with-c/Makefile
5555run-make/print-calling-conventions/Makefile
56- run-make/print-target-list/Makefile
5756run-make/raw-dylib-alt-calling-convention/Makefile
5857run-make/raw-dylib-c/Makefile
5958run-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