File tree 1 file changed +3
-11
lines changed
1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -1160,18 +1160,10 @@ impl<'a> Builder<'a> {
1160
1160
// itself, we skip it by default since we know it's safe to do so in that case.
1161
1161
// See https://github.com/rust-lang/rust/issues/79361 for more info on this flag.
1162
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
- }
1163
+ if self . config . rust_run_dsymutil {
1164
+ rustflags. arg ( "-Csplit-debuginfo=packed" ) ;
1169
1165
} 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" ) ;
1175
1167
}
1176
1168
}
1177
1169
You can’t perform that action at this time.
0 commit comments