Skip to content

Commit 70ed8a5

Browse files
Auto merge of #149148 - davidtwco:v0-mangling-on-nightly-std, r=<try>
v0 mangling for std on nightly
2 parents e22dab3 + 5e4a05f commit 70ed8a5

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)