Linking with libc on Windows requires both wWinMain and WinMain #10460
Labels
bug
Observed behavior contradicts documented or intended behavior
os-windows
standard library
This issue involves writing Zig code for the standard library.
Milestone
Zig Version
0.10.0-dev.95+06286b05a
Steps to Reproduce
main.zig
build.zig
Expected Behavior
zig build
success.Actual Behavior
Note that zig does not allow me to just use WinMain:
The text was updated successfully, but these errors were encountered: