We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cdc67e commit 6994ee3Copy full SHA for 6994ee3
compiler/rustc_codegen_ssa/src/back/symbol_export.rs
@@ -577,6 +577,7 @@ pub(crate) fn linking_symbol_name_for_instance_in_crate<'tcx>(
577
}
578
579
let prefix = match &target.arch[..] {
580
+ "x86" if target.is_like_windows && undecorated.starts_with("?") => return undecorated,
581
"x86" => Some('_'),
582
"x86_64" => None,
583
"arm64ec" => Some('#'),
0 commit comments