Skip to content

rename --verbose to --verbose-spawn and limit the scope of what it does #14970

@andrewrk

Description

@andrewrk

Extracted from #14647.

Redefine it to: print to stderr the commandline before spawning any child process.

Audit all uses of the verbose flag and all child process invocations.

zig/lib/build_runner.zig

Lines 117 to 118 in 68c7261

if (mem.eql(u8, arg, "--verbose")) {
builder.verbose = true;

\\ --verbose Print commands before executing them

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingImplementing this issue could cause existing code to no longer compile or have different behavior.zig build systemstd.Build, the build runner, `zig build` subcommand, package management

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions