You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #1063 - liranringel:disable-mangling-if-link-name-is-specified, r=emilio
Tell LLVM to not mangle names if they're already mangled
LLVM mangles the name by default but functions are already mangled because the `link_name` attribute's value is mangled.
Prefixing the name with `\u{1}` should tell LLVM to not mangle it.
I originally thought it's a bug in rustc, but it was clarified here: rust-lang/rust#45073
0 commit comments