diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2025-11-08 01:39:15 -0800 |
|---|---|---|
| committer | Ryan Liptak <squeek502@hotmail.com> | 2025-11-08 17:11:12 -0800 |
| commit | b31a03f134792b8fae20a625f68499c6548f8443 (patch) | |
| tree | ad42b9f6811ab64efc449cb2fdcdb05868e3128b /lib/std/Build/Step/WriteFile.zig | |
| parent | be4eaed7c41fb194014d862648ff586797e39e84 (diff) | |
| download | zig-b31a03f134792b8fae20a625f68499c6548f8443.tar.gz zig-b31a03f134792b8fae20a625f68499c6548f8443.zip | |
Let CRT take care of the entry point for wWinMain if libc is linked
Fixes #7852
Before, the modified test would fail with:
```
error: lld-link: undefined symbol: wWinMain
note: referenced by C:\Users\Ryan\Programming\Zig\zig-x86_64-windows-0.15.1\lib\libc\mingw\crt\crtexewin.c:66
note: libmingw32.lib(ucrtexewin.obj):(wmain)
```
Diffstat (limited to 'lib/std/Build/Step/WriteFile.zig')
0 files changed, 0 insertions, 0 deletions
