sokol-zig
sokol-zig copied to clipboard
Latest zig master breaks compilation
src/sokol/gfx.zig:13:10: error: no field named 'Pointer' in enum '@typeInfo(builtin.Type).@"union".tag_type.?'
.Pointer => {
~^~~~~~~
/Users/floh/.zvm/master/lib/std/builtin.zig:259:18: note: enum declared here
pub const Type = union(enum) {
^~~~~
referenced by:
init: src/examples/texcube.zig:42:27
init: src/examples/texcube.zig:27:1
4 reference(s) hidden; use '-freference-trace=6' to see all references
...looking into it...
Ok, it's a naming convention change:
https://github.com/ziglang/zig/commit/0fe3fd01ddc2cd49c6a2b939577d16b9d2c65ea9