introduce a build.zig for easier zig codebase intergration
It would be great if the repo included a build.zig so that you could easily call zig fetch --save git+https://github.com/erincatto/box2d
Currently there is a fork with a working zig 0.14.x build.zig. I also have PR on that fork which updates this to zig 0.15.x and rebases ontop of this repo's main.
For context if you are unaware of zig: https://ziglang.org/
Raylib is an example of a c repo hosting a build.zig for convenience.
Sorry for not searching the issue tracker before making this issue. I can see there is: https://github.com/erincatto/box2d/issues/908. The mentioned fork is actually that issues author. I have been testing it on windows. I have a friend that tested it on linux and it worked. I have not tested cross-compiling, but that should work OOB as well (this could in turn be utilized by C/C++ projects to get trivial cross compiling as well!). I can get this to work in your CI with a PR if you would be interested.
Yeah, please provide a PR and/or example code for the GitHub action.