mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 07:03:11 +00:00
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>
This commit is contained in:
parent
9848318725
commit
03c297eea6
@ -1808,6 +1808,7 @@ pub fn runAllowFail(
|
|||||||
child.stderr_behavior = stderr_behavior;
|
child.stderr_behavior = stderr_behavior;
|
||||||
child.env_map = &b.graph.env_map;
|
child.env_map = &b.graph.env_map;
|
||||||
|
|
||||||
|
try Step.handleVerbose2(self, null, child.env_map, argv);
|
||||||
try child.spawn();
|
try child.spawn();
|
||||||
|
|
||||||
const stdout = child.stdout.?.reader().readAllAlloc(b.allocator, max_output_size) catch {
|
const stdout = child.stdout.?.reader().readAllAlloc(b.allocator, max_output_size) catch {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user