Skip to content

Commit b7c7964

Browse files
nyurikemilio
authored andcommitted
Fix calling convention tests
Seems like recent compiler changes no longer allow invalid calling conventions
1 parent 59a43e1 commit b7c7964

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

bindgen-tests/tests/expectations/tests/abi-override.rs

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/mangling-win32.rs

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/headers/abi-override.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// bindgen-flags: --override-abi=foo=fastcall --override-abi=bar=stdcall --override-abi=boo=efiapi --override-abi=foobar=efiapi --override-abi qux=system
1+
// bindgen-flags: --override-abi=foo=fastcall --override-abi=bar=stdcall --override-abi=boo=efiapi --override-abi=foobar=efiapi --override-abi qux=system --raw-line '#![cfg(target = "i686-pc-windows-msvc")]'
22

33
void foo();
44
void bar();

bindgen-tests/tests/headers/mangling-win32.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// bindgen-flags: -- --target=i686-pc-win32
1+
// bindgen-flags: --raw-line '#![cfg(target = "i686-pc-windows-msvc")]' -- --target=i686-pc-win32
22

33
extern "C" void foo();
44

0 commit comments

Comments
 (0)