Closed kitsuniru closed 10 months ago
Hmm...the zig-0.11 branch works fine for me with zig 0.11.
The error reports:
StartupMessage.zig:19:24: error: @intCast must have a known result type
view.writeIntBig(u32, @intCast(payload_len));
But in the zig-0.11 branch, that line of code is on line 20: https://github.com/karlseguin/pg.zig/blob/zig-0.11/src/proto/StartupMessage.zig#L20
On the master branch, it's on line 19: https://github.com/karlseguin/pg.zig/blob/master/src/proto/StartupMessage.zig#L19
Is it possible this was an issue with Zig's over-aggressive caching of dependencies?
issue with Zig's over-aggressive caching of dependencies
Exactly as you said, sorry, I didn't notice it.
branch: zip-0.11
zig build output: