2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change
1
+ // ignore-tidy-tab
1
2
// Staticlibs don't include Rust object files from upstream crates if the same
2
3
// code was already pulled into the lib via LTO. However, the bug described in
3
4
// https://github.com/rust-lang/rust/issues/64153 lead to this exclusion not
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ fn main() {
9
9
// Compile a `#![no_builtins]` rlib crate
10
10
rustc ( ) . input ( "no_builtins.rs" ) . run ( ) ;
11
11
// Build an executable that depends on that crate using LTO. The no_builtins crate doesn't
12
- // participate in LTO, so its rlib must be explicitly linked into the final binary. Verify this by
13
- // grepping the linker arguments.
12
+ // participate in LTO, so its rlib must be explicitly
13
+ // linked into the final binary. Verify this by grepping the linker arguments.
14
14
rustc ( )
15
15
. input ( "main.rs" )
16
16
. arg ( "-Clto" )
0 commit comments