Skip to content

Commit 590c239

Browse files
committed
Handle SysV64 abi
1 parent 80341a3 commit 590c239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/abi/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ fn clif_sig_from_fn_sig<'tcx>(
9191
};
9292
let (call_conv, inputs, output): (CallConv, Vec<Ty<'tcx>>, Ty<'tcx>) = match abi {
9393
Abi::Rust => (CallConv::triple_default(triple), sig.inputs().to_vec(), sig.output()),
94-
Abi::C | Abi::Unadjusted => (CallConv::triple_default(triple), sig.inputs().to_vec(), sig.output()),
94+
Abi::SysV64 | Abi::C | Abi::Unadjusted => (CallConv::triple_default(triple), sig.inputs().to_vec(), sig.output()),
9595
Abi::RustCall => {
9696
assert_eq!(sig.inputs().len(), 2);
9797
let extra_args = match sig.inputs().last().unwrap().kind {

0 commit comments

Comments
 (0)