|
|
|
|
|
by dleslie
1745 days ago
|
|
> Clang doesn't bundle a C standard library implementation. ... So? It can use most any you wish. > Zig only bundles the sources, so it builds the C library on-demand. Which it then caches, post-compilation, taking up binary space on disk comparable to if you just downloaded the pre-compiled target binaries. |
|
I don't understand the point of this comeback. If you have the artifact cached it means that you compiled for that target, while the rest of the stdlibs remain in source form (also Zig deduplicates header files which is why everything fits in a 40mb tarball), and you didn't have to download anything manually. What else would you want exactly?