Use the new name for split-debuginfo
This commit is contained in:
parent
7179be8789
commit
b1a4bca3e6
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user