Skip to content

Commit db1c62a

Browse files
Perform cross-lang-lto for librustc_codegen_llvm.
1 parent 1114ab6 commit db1c62a

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)