No calling convention for msvc on x86_64 non-windows targets #11585
Labels
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
Milestone
The Win64 calling convention is the same as Cdecl on Windows x64, however using
.C
as a stand-in for the Win64 calling convention only works if your compiler targets Windows. This means you're not able to create a function with the Win64 calling convention if you're not targeting Windows.It should be fairly straightforward to support LLVM's Win64 calling convention such that it can be used from Zig code on any target.
The text was updated successfully, but these errors were encountered: