File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed
tests/run-make/separate-link Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,6 @@ run-make/sanitizer-cdylib-link/Makefile
203203run-make/sanitizer-dylib-link/Makefile
204204run-make/sanitizer-staticlib-link/Makefile
205205run-make/separate-link-fail/Makefile
206- run-make/separate-link/Makefile
207206run-make/sepcomp-cci-copies/Makefile
208207run-make/sepcomp-inlining/Makefile
209208run-make/sepcomp-separate/Makefile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // The compiler flags no-link (and by extension, link-only) used to be broken
2+ // due to changes in encoding/decoding. This was patched, and this test ensures
3+ // that these flags are not broken again, resulting in successful compilation.
4+ // See https://github.com/rust-lang/rust/issues/77857
5+
6+ //@ ignore-cross-compile
7+
8+ use run_make_support:: { run, rustc} ;
9+
10+ fn main ( ) {
11+ rustc ( ) . stdin ( b"fn main(){}" ) . arg ( "-Zno-link" ) . arg ( "-" ) . run ( ) ;
12+ rustc ( ) . arg ( "-Zlink-only" ) . input ( "rust_out.rlink" ) . run ( ) ;
13+ run ( "rust_out" ) ;
14+ }
You can’t perform that action at this time.
0 commit comments