Skip to content

Commit

Permalink
Remove codegen-units Windows workaround
Browse files Browse the repository at this point in the history
rust-lang/rust#85461 is now fixed on Nightly
  • Loading branch information
BlackHoleFox committed Jan 3, 2022
1 parent 3787970 commit 94d6e65
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,6 @@ fn clean_doctest_folder<P: AsRef<Path>>(doctest_dir: P) {
fn handle_llvm_flags(value: &mut String, config: &Config) {
if config.engine() == TraceEngine::Llvm {
value.push_str("-Z instrument-coverage ");
if cfg!(windows) {
value.push_str("-C codegen-units=1 ");
}
}
if cfg!(not(windows)) {
value.push_str(" -C link-dead-code ");
Expand Down

0 comments on commit 94d6e65

Please sign in to comment.