ZWL
ZWL copied to clipboard
Unable to compile on Mac (expected std.os.sockaddr_un array size is 104)
I get following error when compiling
/src/wayland.zig:104:53: error: expected type '[104]u8', found '[108]u8'
var addr = std.os.sockaddr_un{ .path = [_]u8{0} ** 108 }
The fix may be to either change it to 104, but looking at other environments some require 108 https://github.com/ziglang/zig/tree/a9c75a2b48f202d5c55097877499942ed07cc2e8/lib/std/os/bits
MacOS Catalina 10.15.5 0.8.0-dev.870+31802c6c6