File tree 3 files changed +14
-8
lines changed
tests/run-make/separate-link
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
203
203
run-make/sanitizer-dylib-link/Makefile
204
204
run-make/sanitizer-staticlib-link/Makefile
205
205
run-make/separate-link-fail/Makefile
206
- run-make/separate-link/Makefile
207
206
run-make/sepcomp-cci-copies/Makefile
208
207
run-make/sepcomp-inlining/Makefile
209
208
run-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