Skip to content

Commit

Permalink
Use the new name for split-debuginfo
Browse files Browse the repository at this point in the history
  • Loading branch information
jyn514 authored and Mark-Simulacrum committed Feb 20, 2021
1 parent 7179be8 commit b1a4bca
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions src/bootstrap/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1160,18 +1160,10 @@ impl<'a> Builder<'a> {
// itself, we skip it by default since we know it's safe to do so in that case.
// See https://github.com/rust-lang/rust/issues/79361 for more info on this flag.
if target.contains("apple") {
if stage == 0 {
if self.config.rust_run_dsymutil {
rustflags.arg("-Zrun-dsymutil=yes");
} else {
rustflags.arg("-Zrun-dsymutil=no");
}
if self.config.rust_run_dsymutil {
rustflags.arg("-Csplit-debuginfo=packed");
} else {
if self.config.rust_run_dsymutil {
rustflags.arg("-Csplit-debuginfo=packed");
} else {
rustflags.arg("-Csplit-debuginfo=unpacked");
}
rustflags.arg("-Csplit-debuginfo=unpacked");
}
}

Expand Down

0 comments on commit b1a4bca

Please sign in to comment.