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