1
Fork 0

Fix vectorcall

This commit is contained in:
Daniel Paoliello 2022-07-19 10:40:26 -07:00
parent c9b31839b6
commit 722d67d5e7
8 changed files with 145 additions and 31 deletions

View file

@ -472,7 +472,9 @@ impl<'tcx> Collector<'tcx> {
Abi::Fastcall { .. } => {
DllCallingConvention::Fastcall(self.i686_arg_list_size(item))
}
// Vectorcall is intentionally not supported at this time.
Abi::Vectorcall { .. } => {
DllCallingConvention::Vectorcall(self.i686_arg_list_size(item))
}
_ => {
self.tcx.sess.span_fatal(
item.span,