sokol-zig
sokol-zig copied to clipboard
Reminder: macOS ABI issues for small structs are fixed in zig 0.9.0
This means small structs used as function args or return values no longer need to be padded to become bigger than 16 bytes, so the SOKOL_ZIG_BINDINGS hack can be removed from the sokol headers and sokol-zig bindings once zig 0.9.0 is released.
(see: https://github.com/ziglang/zig/issues/3211)
PS: are they actually? Need to test on an Intel Mac!
I actually removed the struct padding hack quite recently (it is at least no longer an issue on M1 Macs, haven't actually tested in Intel Macs though)