mirror of
https://github.com/partic2/libffi
synced 2026-11-11 02:27:19 +00:00
x86: Fix calling convention for ffi_closure_win64_inner
Also enable testing for the cross-abi calls.
This commit is contained in:
@@ -315,6 +315,11 @@ proc run-many-tests { testcases extra_flags } {
|
||||
"-DABI_NUM=FFI_THISCALL -DABI_ATTR=__THISCALL__"
|
||||
"-DABI_NUM=FFI_FASTCALL -DABI_ATTR=__FASTCALL__"
|
||||
}
|
||||
} elseif [istarget "x86_64-*-*"] {
|
||||
set targetabis {
|
||||
""
|
||||
"-DABI_NUM=FFI_WIN64 -DABI_ATTR=__MSABI__"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user