floooh / sokol-zig

Zig bindings for the sokol headers (https://github.com/floooh/sokol)
zlib License
341 stars 46 forks source link

build: update to new build API, fixups for new for loop syntax #35

Closed kcbanner closed 1 year ago

kcbanner commented 1 year ago

Some updates to support zig master. These aren't backwards compatible, so if you are supporting 0.10.1, feel free to defer until 0.11 is released.

floooh commented 1 year ago

Thanks for the PR, but please check the zig-0.11.0 branch, as far as I can see this already contains the necessary build system fixes, and the only remaining problem is the for-loop syntax (this was a relatively recent change and I didn't get around yet to fix the zig-0.11.0 branch).

I'd be happy to merge a reduced PR into the zig-0.11.0 branch :)

kcbanner commented 1 year ago

Ah, I didn't see that branch, will move this over 👍