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

This commit is contained in:
Andrew Kelley
2026-05-23 00:55:21 -07:00
parent 6d5fbb26da
commit 2edeeb5a64
+1
View File
@@ -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)