We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1febf58 commit 0de9144Copy full SHA for 0de9144
compiler/rustc_target/src/spec/mod.rs
@@ -2403,9 +2403,9 @@ impl Target {
2403
match abi {
2404
Abi::C { .. } => self.default_adjusted_cabi.unwrap_or(abi),
2405
2406
- // On Windows, `extern "system"` behaves like msvc's `__stdcall`
2407
- // `__stdcall` only applies on x86 and on non-variadic functions
2408
- // see https://learn.microsoft.com/en-us/cpp/cpp/stdcall?view=msvc-170
+ // On Windows, `extern "system"` behaves like msvc's `__stdcall`.
+ // `__stdcall` only applies on x86 and on non-variadic functions:
+ // https://learn.microsoft.com/en-us/cpp/cpp/stdcall?view=msvc-170
2409
Abi::System { unwind } if self.is_like_windows && self.arch == "x86" && !c_variadic => {
2410
Abi::Stdcall { unwind }
2411
}
0 commit comments