authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-10-15 18:32:58-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-10-29 06:20:49-07:00
logf7d47aed47b3fb8f593c398a8e38e66e2d10e1c1
tree03b5e2680fd3af4751ea3735e3f47eb0320d2244
parentbb1bf5b96f966696f88933a07513b001c99d66f5

README: LLVM-less builds are more capable now


1 files changed, 4 insertions(+), 12 deletions(-)

README.md+4-12
......@@ -76,23 +76,15 @@ This produces a `zig2` executable in the current working directory. This is a
7676[without LLVM extensions](https://github.com/ziglang/zig/issues/16270), and is
7777therefore lacking these features:
7878- Release mode optimizations
79- [aarch64 machine code backend](https://github.com/ziglang/zig/issues/21172)
80- [@cImport](https://github.com/ziglang/zig/issues/20630)
81- [zig translate-c](https://github.com/ziglang/zig/issues/20875)
82- [Ability to compile assembly files](https://github.com/ziglang/zig/issues/21169)
8379- [Some ELF linking features](https://github.com/ziglang/zig/issues/17749)
84- [Most COFF/PE linking features](https://github.com/ziglang/zig/issues/17751)
80- [Some COFF/PE linking features](https://github.com/ziglang/zig/issues/17751)
8581- [Some WebAssembly linking features](https://github.com/ziglang/zig/issues/17750)
86- [Ability to create import libs from def files](https://github.com/ziglang/zig/issues/17807)
8782- [Ability to create static archives from object files](https://github.com/ziglang/zig/issues/9828)
83- [Ability to compile assembly files](https://github.com/ziglang/zig/issues/21169)
8884- Ability to compile C, C++, Objective-C, and Objective-C++ files
8985
90However, a compiler built this way does provide a C backend, which may be
91useful for creating system packages of Zig projects using the system C
92toolchain. **In this case, LLVM is not needed!**
93
94Furthermore, a compiler built this way provides an LLVM backend that produces
95bitcode files, which may be compiled into object files via a system Clang
86Even when built this way, Zig provides an LLVM backend that produces bitcode
87files, which may be optimized and compiled into object files via a system Clang
9688package. This can be used to produce system packages of Zig applications
9789without the Zig package dependency on LLVM.
9890