[Package]: zig (latest)
Why is it worth to add this package?
Current zig in termux is 0.9.1. Many breaking changes have been added since then and v0.9.1 is now incompatible with the latest zig (0.10.1).
Home page URL
No response
Source code URL
https://github.com/ziglang/zig
Packaging policy acknowledgement
- [X] I certify that I have read Termux Packaging Policy and understand that my request will be denied in case of violation.
Additional information
Latest release (0.10.1) uses llvm-15 and current master branch uses llvm-16. Termux llvm version is also 16 if this is something to be considered.
Also using zig from termux_setup_zig to build the latest version won't work. It installs zig 0.9.1 which doesn't work with the latest codebase.
There has been a failed attempt of trying to build zig 0.10.0 in #12720
I think its better to use master branch. LLVM in Termux is already upgraded to 16.
If we must use zig 0.10.1, there will lots of backports to work with Termux's LLVM...