> they only need to download the zig binary because it bundles the entire toolchain.
But that can't be possible... neither in principle nor in practice, because each projects needs a different toolchain. Different languages, different tools, different target platforms etc.
Well it’s working in practice so I don’t really know what to tell you.
> because each projects needs a different toolchain
Not true.
> Different languages
I don’t think a caveat for C/C++/zig source files was needed…
> Different tools
If your project is unwilling/able to verify builds on anything except an ancient version of GCC that’s your project’s problem. In practice that’s a minority.
> different target platforms
Zig has 1st class cross compilation to all major platforms.
If you’re using an embedded target you’ll need to vendor its linker script and boot code which is already the common practice.
But that can't be possible... neither in principle nor in practice, because each projects needs a different toolchain. Different languages, different tools, different target platforms etc.