zig-wasm-webgl
zig-wasm-webgl copied to clipboard
Using Zig and WebGL
use this command instead.. `zig build-lib main.zig -target wasm32-freestanding -dynamic -OReleaseSmall` ie. - remove main.wasm `rm main.wasm` - build main.wasm `zig build-lib main.zig -target wasm32-freestanding -dynamic -OReleaseSmall` - start a...
I also ran the code through `zig fmt`.
these commits include the following: * pull from PR #3 (see https://github.com/arrufat/zig-wasm-webgl) * updates to build command verified with 0.12.0 and 0.13.0 versions of Zig (WASM options have changed quite...