Bringing NetBSD to Zig's Continuous Integration
wf.lavatech.top
wf.lavatech.top
I wrote a bazel toolchain on top of it, will blog about it sometime soon: https://sr.ht/~motiejus/bazel-zig-cc/
This gives me a hermetic C/C++ compiler for my cgo programs.
https://dev.to/kristoff/zig-makes-go-cross-compilation-just-...
As a related note, it seems that Go 1.17 won't have the fix as the relative patch has not been merged (see https://go-review.googlesource.com/c/go/+/276412/ ). Would be awesome if somebody from the Go team saw this post and made it happen :)
It's a matter of writing a rule. Best follow Jay Conrod's "awesome bazel", IMO that gives enough in terms of documentation to make it happen.