diff options
author | David Cole <david.cole1340@gmail.com> | 2022-03-13 12:30:06 +1300 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2022-03-15 03:39:58 +0100 |
commit | 1b66dcf87692e455dc5e1603ca05d3f41b3f771b (patch) | |
tree | bedb23fcd1ea0b9263995a0a84e3d5506cdf3973 /tests/headers/win32-vectorcall-nightly.h | |
parent | 6a169f21344d541ab4790dee894d2cc9e51a0345 (diff) |
Added support for `vectorcall` ABI
Diffstat (limited to 'tests/headers/win32-vectorcall-nightly.h')
-rw-r--r-- | tests/headers/win32-vectorcall-nightly.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/headers/win32-vectorcall-nightly.h b/tests/headers/win32-vectorcall-nightly.h new file mode 100644 index 00000000..c099bb59 --- /dev/null +++ b/tests/headers/win32-vectorcall-nightly.h @@ -0,0 +1,3 @@ +// bindgen-flags: --rust-target nightly --raw-line '#![cfg(feature = "nightly")]' --raw-line '#![feature(abi_vectorcall)]' -- --target=x86_64-pc-windows-msvc + +int __vectorcall test_vectorcall(int a, int b); |