wasm4
wasm4 copied to clipboard
zig: Fix template build
I'm not sure when or why these changes occurred in Zig, but with this fix I can compile the template on the latest version of Zig.
I don't know how to link it, but it fixes #685.
This was a fairly recent change in Zig, hopefully there will be a 0.12.0 release soon:ish :)
The changes in https://github.com/ziglang/zig/pull/18160 likely broke a fair amount of existing code.
[!NOTE] I have my own little project that I try to keep up to date for coding WASM-4 carts in Zig ⚡ https://github.com/peterhellberg/w4-init
Thanks, it's hard to keep on top of all these breaking Zig changes 😬