-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
E-help-wantedCall for participation: Help is requested to fix this issue.Call for participation: Help is requested to fix this issue.O-netbsdOperating system: NetBSDOperating system: NetBSDT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
-Csplit-debuginfo
is passed on at least NetBSD and FreeBSD when testing rustc, but that results in an error saying that the option is not yet stable.
bootstrap/builder.rs
enables unstable options on Linux and Windows, but not on other platforms:
Lines 1408 to 1415 in 879fb42
if target.contains("linux") || target.contains("windows") { | |
rustflags.arg("-Zunstable-options"); | |
} | |
match self.config.rust_split_debuginfo { | |
SplitDebuginfo::Packed => rustflags.arg("-Csplit-debuginfo=packed"), | |
SplitDebuginfo::Unpacked => rustflags.arg("-Csplit-debuginfo=unpacked"), | |
SplitDebuginfo::Off => rustflags.arg("-Csplit-debuginfo=off"), | |
}; |
Metadata
Metadata
Assignees
Labels
E-help-wantedCall for participation: Help is requested to fix this issue.Call for participation: Help is requested to fix this issue.O-netbsdOperating system: NetBSDOperating system: NetBSDT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)