ITADN

Unable to build ReleaseSafe versions on windows

#898Openphatchman 创建于 2026-06-09
P
phatchmancommented
Building the examples, or any project with a DVUI dependency on windows in release safe mode errors with the messages below. Curiously, there is no compile error for release fast. It's unlikely to be a DVUI issue, but it would be good to find a work-around. ``` PS C:\src\dvui-dev> zig build --release=safe -Dbackend=sdl3 sdl3-standalone sdl3-standalone └─ run exe sdl3-standalone └─ compile-sdl3-standalone └─ install sdl3-standalone └─ compile exe sdl3-standalone ReleaseSafe native 4 errors .zig-cache\o\0b730c0b764550f9a9ef9e2a3de3ce31\sdl3-c.zig:171:15: error: unused local constant const extern_local_wcscat_s = struct { ^~~~~~~~~~~~~~~~~~~~~ .zig-cache\o\0b730c0b764550f9a9ef9e2a3de3ce31\sdl3-c.zig:195:15: error: unused local constant const extern_local_wcscpy_s = struct { ^~~~~~~~~~~~~~~~~~~~~ .zig-cache\o\0f6371721c3cd210d505dd9b82a2f870\dvui-c.zig:175:15: error: unused local constant const extern_local_wcscat_s = struct { ^~~~~~~~~~~~~~~~~~~~~ .zig-cache\o\0f6371721c3cd210d505dd9b82a2f870\dvui-c.zig:199:15: error: unused local constant const extern_local_wcscpy_s = struct { ^~~~~~~~~~~~~~~~~~~~~ error: 4 compilation errors ```
1 条评论