Closed jayrod246 closed 5 months ago
Zig version: 0.12.0-dev.2341+92211135f Build target: x86-windows-gnu
Executing zig build now fails with:
zig build
error: lld-link: undefined symbol: _main
Seems to be a fairly recent regression. Workaround for now is replacing WinMain with main instead, and passing the necessary Windows parameters.
Closed by https://github.com/ziglang/zig/pull/19399
Builds successful again on Zig version: 0.12.0-dev.3493+3661133f9
Zig version: 0.12.0-dev.2341+92211135f Build target: x86-windows-gnu
Executing
zig build
now fails with:Seems to be a fairly recent regression. Workaround for now is replacing WinMain with main instead, and passing the necessary Windows parameters.