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...@@ -76,23 +76,15 @@ This produces a `zig2` executable in the current working directory. This is a
76[without LLVM extensions](https://github.com/ziglang/zig/issues/16270), and is76[without LLVM extensions](https://github.com/ziglang/zig/issues/16270), and is
77therefore lacking these features:77therefore lacking these features:
78- Release mode optimizations78- 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)
83- [Some ELF linking features](https://github.com/ziglang/zig/issues/17749)79- [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)
85- [Some WebAssembly linking features](https://github.com/ziglang/zig/issues/17750)81- [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)
87- [Ability to create static archives from object files](https://github.com/ziglang/zig/issues/9828)82- [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)
88- Ability to compile C, C++, Objective-C, and Objective-C++ files84- 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 be86Even when built this way, Zig provides an LLVM backend that produces bitcode
91useful for creating system packages of Zig projects using the system C87files, which may be optimized and compiled into object files via a system Clang
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
96package. This can be used to produce system packages of Zig applications88package. This can be used to produce system packages of Zig applications
97without the Zig package dependency on LLVM.89without the Zig package dependency on LLVM.
9890