aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build.zig
diff options
context:
space:
mode:
authorEric Joldasov <bratishkaerik@landless-city.net>2024-05-09 00:12:54 +0500
committerAndrew Kelley <andrew@ziglang.org>2024-08-23 21:45:32 -0700
commit03c297eea63b403371428bdf2bbf91fcdca8a071 (patch)
tree45a6554ab3ae8f307cd2e4c771bb81049aa45ff0 /lib/std/Build.zig
parent9848318725345e4516d68e4f4537f602078d59ad (diff)
downloadzig-03c297eea63b403371428bdf2bbf91fcdca8a071.tar.gz
zig-03c297eea63b403371428bdf2bbf91fcdca8a071.zip
std.Build: call `handleVerbose2` in `runAllowFail`
Ensures that all runned command are visible when using `--verbose` flag, for example `pkg-config` from Step.Compile or `git describe` from build.zig. Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
Diffstat (limited to 'lib/std/Build.zig')
-rw-r--r--lib/std/Build.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/Build.zig b/lib/std/Build.zig
index 82810bb02f..610f0cfa41 100644
--- a/lib/std/Build.zig
+++ b/lib/std/Build.zig
@@ -1808,6 +1808,7 @@ pub fn runAllowFail(
child.stderr_behavior = stderr_behavior;
child.env_map = &b.graph.env_map;
+ try Step.handleVerbose2(self, null, child.env_map, argv);
try child.spawn();
const stdout = child.stdout.?.reader().readAllAlloc(b.allocator, max_output_size) catch {