File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 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> {
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
You can’t perform that action at this time.
0 commit comments