Post #1123568
2026-04-10 15:30 UTC
Updated the libghostty-vt CMake files to make cross-compilation as easy as one (or a few lines). Since libghostty only depends on libc/c++ and Zig bundles libc when used as a c/c++ compiler, you can get full cross-compilation easily. The Zig toolchain is paying huge dividends!
This would've been true even if libghostty wasn't written in Zig, its just a fun coincidence that its written in Zig too. But Zig the C/C++ compiler on its own is amazing (a frontend for clang but with a ton of extra work done by the Zig team to make cross compilation easy).
More details in this commit: https://github.com/ghostty-org/ghostty/commit/7127abfe285014c62bc1f9b24d4e038af7f94afa
Replies (0)
No replies.