From f7d47aed47b3fb8f593c398a8e38e66e2d10e1c1 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 15 Oct 2025 18:32:58 -0700 Subject: [PATCH] README: LLVM-less builds are more capable now --- README.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 5a346c24d7..04fa4c618e 100644 --- a/README.md +++ b/README.md @@ -76,23 +76,15 @@ This produces a `zig2` executable in the current working directory. This is a [without LLVM extensions](https://github.com/ziglang/zig/issues/16270), and is therefore lacking these features: - Release mode optimizations -- [aarch64 machine code backend](https://github.com/ziglang/zig/issues/21172) -- [@cImport](https://github.com/ziglang/zig/issues/20630) -- [zig translate-c](https://github.com/ziglang/zig/issues/20875) -- [Ability to compile assembly files](https://github.com/ziglang/zig/issues/21169) - [Some ELF linking features](https://github.com/ziglang/zig/issues/17749) -- [Most COFF/PE linking features](https://github.com/ziglang/zig/issues/17751) +- [Some COFF/PE linking features](https://github.com/ziglang/zig/issues/17751) - [Some WebAssembly linking features](https://github.com/ziglang/zig/issues/17750) -- [Ability to create import libs from def files](https://github.com/ziglang/zig/issues/17807) - [Ability to create static archives from object files](https://github.com/ziglang/zig/issues/9828) +- [Ability to compile assembly files](https://github.com/ziglang/zig/issues/21169) - Ability to compile C, C++, Objective-C, and Objective-C++ files -However, a compiler built this way does provide a C backend, which may be -useful for creating system packages of Zig projects using the system C -toolchain. **In this case, LLVM is not needed!** - -Furthermore, a compiler built this way provides an LLVM backend that produces -bitcode files, which may be compiled into object files via a system Clang +Even when built this way, Zig provides an LLVM backend that produces bitcode +files, which may be optimized and compiled into object files via a system Clang package. This can be used to produce system packages of Zig applications without the Zig package dependency on LLVM.