Skip to content

Commit 06596c0

Browse files
committed
Auto merge of #149148 - davidtwco:v0-mangling-on-nightly-std, r=Kobzol
v0 mangling for std on nightly Following #89917 and rust-lang/compiler-team#938, it doesn't make sense that `std` for these channels would have legacy mangling while the user's code would use `v0`. r? `@Kobzol`
2 parents 7281a3b + 5e4a05f commit 06596c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bootstrap/src/core/builder/cargo.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,8 @@ impl Builder<'_> {
647647
// If an explicit setting is given, use that
648648
setting
649649
}
650+
// Per compiler-team#938, v0 mangling is used on nightly
651+
None if self.config.channel == "dev" || self.config.channel == "nightly" => true,
650652
None => {
651653
if mode == Mode::Std {
652654
// The standard library defaults to the legacy scheme

0 commit comments

Comments
 (0)