std.Build.Step.Run
The entries of std.Build.Step.Run in the Zig reference. This page has 53 cards.
pub fn addArg(run: *Run, arg: []const u8) void
Appends the contents of `arg`, verbatim, to the command line that will be passed to the process being run.
- Kind
- function
- Module
std.Build.Step.Run
pub fn addArgs(run: *Run, args: []const []const u8) void
Appends each of `args`, verbatim, to the command line that will be passed to the process being run.
- Kind
- function
- Module
std.Build.Step.Run
pub fn addArtifactArg2(run: *Run, artifact: *Step.Compile, options: PathArgOptions) void
- Kind
- function
- Module
std.Build.Step.Run
pub fn addCheck(run: *Run, new_check: StdIo.Check) void
- Kind
- function
- Module
std.Build.Step.Run
pub fn addDepFileOutputArg2(run: *Run, basename: []const u8, options: PathArgOptions) std.Build.LazyPath
Add a path argument to a dep file (.d) for the child process to write its discovered additional dependencies.
- Kind
- function
- Module
std.Build.Step.Run
pub fn addDirectoryArg2(run: *Run, lazy_directory: std.Build.LazyPath, options: PathArgOptions) void
- Kind
- function
- Module
std.Build.Step.Run
pub fn addFileArg(run: *Run, lp: std.Build.LazyPath) void
- Kind
- function
- Module
std.Build.Step.Run
pub fn addFileArg2(run: *Run, lp: std.Build.LazyPath, options: PathArgOptions) void
Appends an input file to the command line arguments prepended with a string.
- Kind
- function
- Module
std.Build.Step.Run
pub fn addFileContentArg2(run: *Run, lp: std.Build.LazyPath, options: ArgOptions) void
Appends the content of an input file to the command line arguments prepended with a string.
- Kind
- function
- Module
std.Build.Step.Run
pub fn addFileInput(run: *Run, file_input: std.Build.LazyPath) void
Adds an additional input files that, when modified, indicates that this Run step should be re-executed.
- Kind
- function
- Module
std.Build.Step.Run
pub fn addOutputDirectoryArg2(run: *Run, basename: []const u8, options: PathArgOptions) std.Build.LazyPath
Provides a directory path as a command line argument to the command being run.
- Kind
- function
- Module
std.Build.Step.Run
pub fn addOutputFileArg2(run: *Run, sub_path: []const u8, options: PathArgOptions) std.Build.LazyPath
Provides a file path as a command line argument to the command being run.
- Kind
- function
- Module
std.Build.Step.Run
pub fn addPassthruArgs(run: *Run) void
Appends the extra arguments provided to `zig build` to the command line that will be passed to the process being run.
- Kind
- function
- Module
std.Build.Step.Run
pub fn addPrefixedFileArg(run: *Run, prefix: []const u8, lp: std.Build.LazyPath) void
- Kind
- function
- Module
std.Build.Step.Run
pub fn addThirdPartyEnabledArgDarling(run: *Run, toggle_flags: ToggleFlags) void
Appends a custom string to the command line depending on the `-fdarling` value passed to `zig build`.
- Kind
- function
- Module
std.Build.Step.Run
pub fn addThirdPartyEnabledArgQemu(run: *Run, toggle_flags: ToggleFlags) void
Appends a custom string to the command line depending on the `-fqemu` value passed to `zig build`.
- Kind
- function
- Module
std.Build.Step.Run
pub fn addThirdPartyEnabledArgRosetta(run: *Run, toggle_flags: ToggleFlags) void
Appends a custom string to the command line depending on the `-frosetta` value passed to `zig build`.
- Kind
- function
- Module
std.Build.Step.Run
pub fn addThirdPartyEnabledArgWasmtime(run: *Run, toggle_flags: ToggleFlags) void
Appends a custom string to the command line depending on the `-fwasmtime` value passed to `zig build`.
- Kind
- function
- Module
std.Build.Step.Run
pub fn addThirdPartyEnabledArgWine(run: *Run, toggle_flags: ToggleFlags) void
Appends a custom string to the command line depending on the `-fwine` value passed to `zig build`.
- Kind
- function
- Module
std.Build.Step.Run
- Kind
- union
- Module
std.Build.Step.Run
- Kind
- struct
- Module
std.Build.Step.Run
- Kind
- constant
- Module
std.Build.Step.Run
- Kind
- struct
- Module
std.Build.Step.Run
- Kind
- struct
- Module
std.Build.Step.Run
- Kind
- type
- Module
std.Build.Step.Run
pub fn captureStdErr(run: *Run, options: CapturedStdIo.Options) std.Build.LazyPath
- Kind
- function
- Module
std.Build.Step.Run
pub fn captureStdOut(run: *Run, options: CapturedStdIo.Options) std.Build.LazyPath
- Kind
- function
- Module
std.Build.Step.Run
pub fn clearEnvironment(run: *Run) void
- Kind
- function
- Module
std.Build.Step.Run
- Kind
- type
- Module
std.Build.Step.Run
pub fn create(owner: *std.Build, name: []const u8) *Run
- Kind
- function
- Module
std.Build.Step.Run
- Kind
- struct
- Module
std.Build.Step.Run
- Kind
- struct
- Module
std.Build.Step.Run
- Kind
- struct
- Module
std.Build.Step.Run
pub fn enableProtocolMode(run: *Run) void
- Kind
- function
- Module
std.Build.Step.Run
pub fn expectExitCode(run: *Run, code: u8) void
- Kind
- function
- Module
std.Build.Step.Run
pub fn expectStdErrEqual(run: *Run, bytes: []const u8) void
Adds a check for exact stderr match.
- Kind
- function
- Module
std.Build.Step.Run
pub fn expectStdErrMatch(run: *Run, bytes: []const u8) void
- Kind
- function
- Module
std.Build.Step.Run
pub fn expectStdOutEqual(run: *Run, bytes: []const u8) void
Adds a check for exact stdout match as well as a check for exit code 0, if there is not already an expected termination check.
- Kind
- function
- Module
std.Build.Step.Run
pub fn expectStdOutMatch(run: *Run, bytes: []const u8) void
Adds a check for stdout match as well as a check for exit code 0, if there is not already an expected termination check.
- Kind
- function
- Module
std.Build.Step.Run
pub fn getEnvMap(run: *Run) *EnvMap
- Kind
- function
- Module
std.Build.Step.Run
pub fn hasTermCheck(run: Run) bool
- Kind
- function
- Module
std.Build.Step.Run
- Kind
- struct
- Module
std.Build.Step.Run
- Kind
- struct
- Module
std.Build.Step.Run
pub fn removeEnvironmentVariable(run: *Run, key: []const u8) void
- Kind
- function
- Module
std.Build.Step.Run
pub fn setCwd(run: *Run, cwd: Build.LazyPath) void
- Kind
- function
- Module
std.Build.Step.Run
pub fn setEnvironmentVariable(run: *Run, key: []const u8, value: []const u8) void
- Kind
- function
- Module
std.Build.Step.Run
pub fn setName(run: *Run, name: []const u8) void
- Kind
- function
- Module
std.Build.Step.Run
pub fn setPreopen(run: *Run, name: []const u8, resource: Build.LazyPath) void
- Kind
- function
- Module
std.Build.Step.Run
pub fn setStdIn(run: *Run, stdin: StdIn) void
- Kind
- function
- Module
std.Build.Step.Run
- Kind
- union
- Module
std.Build.Step.Run
- Kind
- union
- Module
std.Build.Step.Run
- Kind
- union
- Module
std.Build.Step.Run
- Kind
- struct
- Module
std.Build.Step.Run