We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
split-debuginfo
1 parent 7179be8 commit b1a4bcaCopy full SHA for b1a4bca
src/bootstrap/builder.rs
@@ -1160,18 +1160,10 @@ impl<'a> Builder<'a> {
1160
// itself, we skip it by default since we know it's safe to do so in that case.
1161
// See https://github.com/rust-lang/rust/issues/79361 for more info on this flag.
1162
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
- }
+ if self.config.rust_run_dsymutil {
+ rustflags.arg("-Csplit-debuginfo=packed");
1169
} else {
1170
1171
- rustflags.arg("-Csplit-debuginfo=packed");
1172
1173
- rustflags.arg("-Csplit-debuginfo=unpacked");
1174
+ rustflags.arg("-Csplit-debuginfo=unpacked");
1175
}
1176
1177
0 commit comments