I think it would be useful to use zig to cross compile . Once the tags are setup it works easily . https://github.com/goreleaser/example-zig-cgo Shows it