DoxigAlpha

Run

Fields of this type

Fields

#
argv:std.ArrayListUnmanaged(Arg)
See also addArg and addArgs to modifying this directly
cwd:?Build.LazyPath
Use `setCwd` to set the initial current working directory
env_map:?*EnvMap
Override this field to modify the environment, or use setEnvironmentVariable
disable_zig_progress:bool
When `true` prevents `ZIG_PROGRESS` environment variable from being passed
stdio:StdIo
Configures whether the Run step is considered to have side-effects, and also
stdin:StdIn
This field must be `.none` if stdio is `inherit`.
file_inputs:std.ArrayListUnmanaged(std.Build.LazyPath)
Additional input files that, when modified, indicate that the Run step
rename_step_with_output_arg:bool
After adding an output argument, this step will by default rename itself
skip_foreign_checks:bool
If this is true, a Run step which is configured to check the output of the
failing_to_execute_foreign_is_an_error:bool
If this is true, failing to execute a foreign binary will be considered an
max_stdio_size:usize
Deprecated in favor of `stdio_limit`.
stdio_limit:std.Io.Limit
If stderr or stdout exceeds this amount, the child process is killed and
captured_stdout:?*Output
captured_stderr:?*Output
dep_output_file:?*Output
has_side_effects:bool
fuzz_tests:std.ArrayListUnmanaged(u32)
If this is a Zig unit test binary, this tracks the indexes of the unit
cached_test_metadata:?CachedTestMetadata
= null
rebuilt_executable:?Path
Populated during the fuzz phase if this run step corresponds to a unit test
producer:?*Step.Compile
If this Run step was produced by a Compile step, it is tracked here.

Type definitions in this namespace

Types

#

Functions in this namespace

Functions

#
addOutputFileArg
Provides a file path as a command line argument to the command being run.
addPrefixedOutputFileArg
Provides a file path as a command line argument to the command being run.
addFileArg
Appends an input file to the command line arguments.
addPrefixedFileArg
Appends an input file to the command line arguments prepended with a string.
addOutputDirectoryArg
Provides a directory path as a command line argument to the command being run.
addPrefixedOutputDirectoryArg
Provides a directory path as a command line argument to the command being run.
addDepFileOutputArg
Add a path argument to a dep file (.d) for the child process to write its
addPrefixedDepFileOutputArg
Add a prefixed path argument to a dep file (.d) for the child process to
expectStdErrEqual
Adds a check for exact stderr match.
expectStdOutEqual
Adds a check for exact stdout match as well as a check for exit code 0, if
addFileInput
Adds an additional input files that, when modified, indicates that this Run

= .run

Values

#
base_id
= .run