v0 mangling for std on nightly

This commit is contained in:
David Wood 2025-11-20 14:42:38 +00:00
parent 2c0f4860cc
commit 62c5ea65dc
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View file

@ -647,6 +647,8 @@ impl Builder<'_> {
// If an explicit setting is given, use that
setting
}
// Per compiler-team#938, v0 mangling is used on nightly
None if self.config.channel == "dev" || self.config.channel == "nightly" => true,
None => {
if mode == Mode::Std {
// The standard library defaults to the legacy scheme

View file

@ -491,6 +491,8 @@ fun:__dfso_*=discard
# Rust functions.
fun:_ZN4core*=uninstrumented
fun:_R*4core*=uninstrumented
fun:_ZN3std*=uninstrumented
fun:_R*3std*=uninstrumented
fun:rust_eh_personality=uninstrumented
fun:_R*__rustc*=uninstrumented