authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-05-23 00:55:21-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-05-25 18:54:36-07:00
log2edeeb5a6476cc996367e547eb2c86e878784bf1
tree31b894be52cbd885d362419ed9433a2bb2103fc8
parent6d5fbb26dafae1f1d293e968a0183ae08a4e3992

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


1 files changed, 1 insertions(+), 0 deletions(-)

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