feature. See also
. The project being documented here (as the example) is the Zig library itself.
Run.create
pub fn create(owner: *std.Build, name: []const u8) *Run
File
Code
pub fn create(owner: *std.Build, name: []const u8) *Run {
const run = owner.allocator.create(Run) catch @panic("OOM");
run.* = .{
.step = .init(.{
.tag = base_tag,
.name = name,
.owner = owner,
}),
.argv = .empty,
.cwd = null,
.environ_map = null,
.preopens = .empty,
.disable_zig_progress = false,
.stdio = .infer_from_args,
.stdin = .none,
.file_inputs = .empty,
.rename_step_with_output_arg = true,
.skip_foreign_checks = false,
.failing_to_execute_foreign_is_an_error = true,
.stdio_limit = .unlimited,
.captured_stdout = null,
.captured_stderr = null,
.has_side_effects = false,
.producer = null,
};
return run;
}