sokol-zig icon indicating copy to clipboard operation
sokol-zig copied to clipboard

Latest zig master breaks compilation

Open floooh opened this issue 1 year ago • 1 comments

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...

floooh avatar Aug 31 '24 10:08 floooh

Ok, it's a naming convention change:

https://github.com/ziglang/zig/commit/0fe3fd01ddc2cd49c6a2b939577d16b9d2c65ea9

floooh avatar Aug 31 '24 10:08 floooh