Skip to content

Commit

Permalink
prevent panic when compiling aarch64 vectorcall functions
Browse files Browse the repository at this point in the history
  • Loading branch information
usamoi authored and emilio committed Dec 11, 2023
1 parent 86f3dbe commit b6ff609
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bindgen/ir/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ fn get_abi(cc: CXCallingConv) -> ClangAbi {
CXCallingConv_X86VectorCall => ClangAbi::Known(Abi::Vectorcall),
CXCallingConv_AAPCS => ClangAbi::Known(Abi::Aapcs),
CXCallingConv_X86_64Win64 => ClangAbi::Known(Abi::Win64),
CXCallingConv_AArch64VectorCall => ClangAbi::Known(Abi::Vectorcall),
other => ClangAbi::Unknown(other),
}
}
Expand Down

0 comments on commit b6ff609

Please sign in to comment.