Skip to content

Commit a3fe337

Browse files
committed
Auto merge of #53855 - michaelwoerister:cross-lang-lto-llvm, r=<try>
[experimental] Perform cross-lang-lto for librustc_codegen_llvm. This is a follow-up to #53245 in order to gauge the impact of cross-language LTO on `rustc`.
2 parents c2afca3 + db1c62a commit a3fe337

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/compile.rs

+1
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ impl Step for CodegenBackend {
687687

688688
if builder.config.llvm_thin_lto {
689689
cargo_tails_args.push("--".to_string());
690+
cargo_tails_args.push("-Zcross-lang-lto".to_string());
690691

691692
let num_jobs = builder.jobs();
692693

0 commit comments

Comments
 (0)