Skip to content

Commit 0d17ff4

Browse files
committed
use sysv64 abi on windows
1 parent ea33190 commit 0d17ff4

File tree

1 file changed

+1
-1
lines changed
  • crates/assert-instr-macro/src

1 file changed

+1
-1
lines changed

crates/assert-instr-macro/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ pub fn assert_instr(
9191
// Use an ABI on Windows that passes SIMD values in registers, like what
9292
// happens on Unix (I think?) by default.
9393
let abi = if cfg!(windows) {
94-
syn::LitStr::new("vectorcall", proc_macro2::Span::call_site())
94+
syn::LitStr::new("sysv64", proc_macro2::Span::call_site())
9595
} else {
9696
syn::LitStr::new("C", proc_macro2::Span::call_site())
9797
};

0 commit comments

Comments
 (0)