3 ms·
I raise you https://github.com/ziglang/zig/issues/20875 https://github.com/ziglang/zig/issues/20875 It is not entirely clear what any of this means for the fut
by kbolino 2y ago
I raise you https://github.com/ziglang/zig/issues/20875 https://github.com/ziglang/zig/issues/20875
It is not entirely clear what any of this means for the future, and in any case, it keeps changing all the time.
The promise to maintain LLVM support just applies to Zig code. That doesn't require Clang. LLVM alone is not a C compiler, and neither is Zig without Clang.
What very well may happen is that the "standard" distribution of Zig will continue to bundle Clang, while a "minimal" distribution also gets created which omits Clang, and thus cannot compile C code. However, none of this has been spelled out clearly yet, and so I think it's reasonable to say don't depend on Zig to give you Clang.
- sitkack 2y agoZig is migrating away from LLVM as the mandatory backend, it will still ship clang and llvm so that it can build everything it needs which is critical for its mission for all your (code) base.