Ghostty and libghostty are now on Zig 0.16! This was done by a [paid!] contributor. Through this process, the Ghostty non-profit also paid for hours to contribute over a dozen patches upstream to the translate-c and arocc projects which help the entire ecosystem. Amazing work.
Zig 0.16 came out awhile ago, but in reality it wasn't a focus of the project to upgrade until the past few weeks. It did take a few weeks to upgrade, but the primary complexity was due to C translation/integration and not Zig itself.
Zig 0.16 switched C translation from clang to the translate-c/arocc projects which are faster and a much smaller dependency.
Ghostty is a very complex C user, consuming Apple headers (e.g. blocks), Windows headers, GTK headers, SIMD intrinsic headers, and more. This stressed these upstreams and we had to fix a number of issues to get through.
This was high quality and good work though and I'm happy to see it help the ecosystem. translate-c and arocc are just excellent standalone projects even if you're not interested in Zig. They're way easier to embed than clang and solve that problem well.
Upstream patches:
* translate-c:
* arocc: