We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eef4434 commit 0e30446Copy full SHA for 0e30446
src/librustc_trans/abi.rs
@@ -484,7 +484,9 @@ impl FnType {
484
485
match &ccx.sess().target.target.arch[..] {
486
"x86" => cabi_x86::compute_abi_info(ccx, self),
487
- "x86_64" => if ccx.sess().target.target.options.is_like_windows {
+ "x86_64" => if abi == Abi::SysV64 {
488
+ cabi_x86_64::compute_abi_info(ccx, self);
489
+ } else if abi == Abi::Win64 || ccx.sess().target.target.options.is_like_windows {
490
cabi_x86_win64::compute_abi_info(ccx, self);
491
} else {
492
cabi_x86_64::compute_abi_info(ccx, self);
0 commit comments