Skip to content

Commit 6f893f9

Browse files
tgross35bjorn3
andauthored
fixup! 6acd4e6
Co-authored-by: bjorn3 <[email protected]>
1 parent 6f242cb commit 6f893f9

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_codegen_cranelift/src/abi

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_cranelift/src/abi/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ impl<'tcx> FunctionCx<'_, '_, 'tcx> {
146146
(params, args.into())
147147
};
148148

149-
// Return i128 using the vector ABI on Windows
150149
let ret_single_i128 = returns.len() == 1 && returns[0].value_type == types::I128;
151150
if ret_single_i128 && self.tcx.sess.target.is_like_windows {
151+
// Return i128 using the vector ABI on Windows
152152
returns[0].value_type = types::I64X2;
153153

154154
let ret = self.lib_call_unadjusted(name, params, returns, &args)[0];

0 commit comments

Comments
 (0)