You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On most 64-bit platforms you can use extern "C" to select the SysV calling convention or extern "win64" to select the Microsoft calling convention. On windows-msvc, extern "C" is the same as extern "win64" and there's no way to select SysV.
The text was updated successfully, but these errors were encountered:
@retep998 It's an annoyance/restriction when writing anything that deals with run-time assembling (JIT compilers for instance). It necessitates using of the asm feature to call into it or sticking to win64 as calling convention on all platforms.
Alternatively large parts of such code must be duplicated in order to deal with the different register allocations
On most 64-bit platforms you can use
extern "C"
to select the SysV calling convention orextern "win64"
to select the Microsoft calling convention. On windows-msvc,extern "C"
is the same asextern "win64"
and there's no way to select SysV.The text was updated successfully, but these errors were encountered: