8 files changed +28
-24
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
117
117
"ignore-watchos" ,
118
118
"ignore-windows" ,
119
119
"ignore-windows-gnu" ,
120
+ "ignore-windows-msvc" ,
120
121
"ignore-x32" ,
121
122
"ignore-x86" ,
122
123
"ignore-x86_64" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ run-make/foreign-exceptions/Makefile
18
18
run-make/foreign-rust-exceptions/Makefile
19
19
run-make/incr-add-rust-src-component/Makefile
20
20
run-make/issue-36710/Makefile
21
- run-make/issue-69368/Makefile
22
21
run-make/issue-84395-lto-embed-bitcode/Makefile
23
22
run-make/issue-88756-default-output/Makefile
24
23
run-make/jobserver-error/Makefile
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ // Test that previously triggered a linker failure with root cause
2
+ // similar to one found in the issue #69368.
3
+ //
4
+ // The crate that provides oom lang item is missing some other lang
5
+ // items. Necessary to prevent the use of start-group / end-group.
6
+ //
7
+ // The weak lang items are defined in a separate compilation units,
8
+ // so that linker could omit them if not used.
9
+ //
10
+ // The crates that need those weak lang items are dependencies of
11
+ // crates that provide them.
12
+ // See https://github.com/rust-lang/rust/issues/69371
13
+
14
+ use run_make_support:: rustc;
15
+
16
+ fn main ( ) {
17
+ rustc ( ) . input ( "a.rs" ) . run ( ) ;
18
+ rustc ( ) . input ( "b.rs" ) . run ( ) ;
19
+ rustc ( ) . input ( "c.rs" ) . run ( ) ;
20
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
// after the fix in #85395.
5
5
// See https://github.com/rust-lang/rust/issues/47551
6
6
7
- //FIXME(Oneirical): See if it works on anything other than only linux and 64 bit
8
- // maybe riscv64gc-unknown-linux-gnu
7
+ //@ only-linux
8
+ // Reason: the ZERO terminator is unique to the Linux architecture.
9
+ //@ ignore-32bit
10
+ // Reason: the usage of a large array in the test causes an out-of-memory
11
+ // error on 32 bit systems.
9
12
10
- use run_make_support:: { llvm_objdump, run, rustc} ;
13
+ use run_make_support:: { bin_name , llvm_objdump, run, rustc} ;
11
14
12
15
fn main ( ) {
13
16
rustc ( ) . input ( "eh_frame-terminator.rs" ) . run ( ) ;
14
17
run ( "eh_frame-terminator" ) . assert_stdout_contains ( "1122334455667788" ) ;
15
18
llvm_objdump ( )
16
19
. arg ( "--dwarf=frames" )
17
- . input ( "eh_frame-terminator" )
20
+ . input ( bin_name ( "eh_frame-terminator" ) )
18
21
. run ( )
19
22
. assert_stdout_contains ( "ZERO terminator" ) ;
20
23
}
0 commit comments