Fields
infer_from_args: void,
Whether the Run step has side-effects will be determined by whether or not one of the args is an output file (added with addOutputFileArg
). If the Run step is determined to have side-effects, this is the same as inherit
. The step will fail if the subprocess crashes or returns a non-zero exit code.
inherit: void,
Causes the Run step to be considered to have side-effects, and therefore always execute when it appears in the build graph. It also means that this step will obtain a global lock to prevent other steps from running in the meantime. The step will fail if the subprocess crashes or returns a non-zero exit code.
check: field_call,
Causes the Run step to be considered to not have side-effects. The process will be re-executed if any of the input dependencies are modified. The exit code and standard I/O streams will be checked for certain conditions, and the step will succeed or fail based on these conditions. Note that an explicit check for exit code 0 needs to be added to this list if such a check is desirable.
zig_test: void,
This Run step is running a zig unit test binary and will communicate extra metadata over the IPC protocol.