Zig cross-compiler toolchain is fantastic: weighs ~40MB, includes clang-12, musl, glibc (v2.2-2.33, selectable).<p>I wrote a bazel toolchain on top of it, will blog about it sometime soon: <a href="https://sr.ht/~motiejus/bazel-zig-cc/" rel="nofollow">https://sr.ht/~motiejus/bazel-zig-cc/</a><p>This gives me a hermetic C/C++ compiler for my cgo programs.