Skip to content

Commit

Permalink
hack/workaround: disable LTO
Browse files Browse the repository at this point in the history
  • Loading branch information
exrook committed Mar 22, 2022
1 parent ea25822 commit 713f4d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bootstrap/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1684,6 +1684,7 @@ impl<'a> Builder<'a> {
rustflags.arg(&format!("-Cllvm-args=-import-instr-limit={}", limit));
}
}
cargo.env(profile_var("LTO"), "off");

Cargo { command: cargo, rustflags, rustdocflags }
}
Expand Down

0 comments on commit 713f4d5

Please sign in to comment.