Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1a22be2

Browse files
committedJun 13, 2024
t
1 parent 03c4c80 commit 1a22be2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎tests/run-make/lto-avoid-object-duplication/rmake.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// ignore-tidy-tab
12
// Staticlibs don't include Rust object files from upstream crates if the same
23
// code was already pulled into the lib via LTO. However, the bug described in
34
// https://github.com/rust-lang/rust/issues/64153 lead to this exclusion not

‎tests/run-make/no-builtins-lto/rmake.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ fn main() {
99
// Compile a `#![no_builtins]` rlib crate
1010
rustc().input("no_builtins.rs").run();
1111
// 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.
1414
rustc()
1515
.input("main.rs")
1616
.arg("-Clto")

0 commit comments

Comments
 (0)
Failed to load comments.