Go bindings for libghostty-vt. pkg.go.dev/go.mitchellh.com/libghostty
ghostty

Document and test cross-compilation master

One of the common stigmas of cgo in Go projects is that it makes cross-compilation overly difficult. Its more difficult than pure Go projects, to be sure, but with the right shape of libraries and build scripts, it can be made to work well. libghostty is a good example of this. libghostty only depends on libc and the Zig compiler (tool, not language) as a drop-in replacement for c/c++ compilation means we can easily cross-compile! This commit adds documentation, tests, and examples on how to do this.


Author Mitchell Hashimoto Date Commit bc666b9a Parent 10fa0739 Change ID zusonzsk
+132 -1
4 changed files