zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 2edeeb5a6476cc996367e547eb2c86e878784bf1 (tree)
parent 6d5fbb26dafae1f1d293e968a0183ae08a4e3992
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Sat, 23 May 2026 00:55:21 -0700

zig build: add CLI usage for --print-configuration

Diffstat:
Mlib/compiler/Maker/ScannedConfig.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/compiler/Maker/ScannedConfig.zig b/lib/compiler/Maker/ScannedConfig.zig @@ -349,6 +349,7 @@ pub fn printUsage(sc: *const ScannedConfig, graph: *Graph, w: *Writer) !void { \\ poisoned Don't cache the configuration \\ disallowed Panics when cache would be poisoned \\ ignored A little poison never hurt anybody + \\ --print-configuration Render configuration as .zon to stdout \\ --build-id[=style] At a minor link-time expense, embeds a build ID in binaries \\ fast 8-byte non-cryptographic hash (COFF, ELF, WASM) \\ sha1, tree 20-byte cryptographic hash (ELF, WASM)