From 2edeeb5a6476cc996367e547eb2c86e878784bf1 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 23 May 2026 00:55:21 -0700 Subject: [PATCH] zig build: add CLI usage for --print-configuration --- lib/compiler/Maker/ScannedConfig.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/compiler/Maker/ScannedConfig.zig b/lib/compiler/Maker/ScannedConfig.zig index 748cc84e97..379b8b209c 100644 --- 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)