Skip to content

Commit b1a4bca

Browse files
jyn514Mark-Simulacrum
authored andcommitted
Use the new name for split-debuginfo
1 parent 7179be8 commit b1a4bca

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

src/bootstrap/builder.rs

+3-11
Original file line numberDiff line numberDiff line change
@@ -1160,18 +1160,10 @@ impl<'a> Builder<'a> {
11601160
// itself, we skip it by default since we know it's safe to do so in that case.
11611161
// See https://github.com/rust-lang/rust/issues/79361 for more info on this flag.
11621162
if target.contains("apple") {
1163-
if stage == 0 {
1164-
if self.config.rust_run_dsymutil {
1165-
rustflags.arg("-Zrun-dsymutil=yes");
1166-
} else {
1167-
rustflags.arg("-Zrun-dsymutil=no");
1168-
}
1163+
if self.config.rust_run_dsymutil {
1164+
rustflags.arg("-Csplit-debuginfo=packed");
11691165
} else {
1170-
if self.config.rust_run_dsymutil {
1171-
rustflags.arg("-Csplit-debuginfo=packed");
1172-
} else {
1173-
rustflags.arg("-Csplit-debuginfo=unpacked");
1174-
}
1166+
rustflags.arg("-Csplit-debuginfo=unpacked");
11751167
}
11761168
}
11771169

0 commit comments

Comments
 (0)