Function create [src]

Prototype

pub fn create(owner: *std.Build, name: []const u8) *Run

Parameters

owner: *std.Buildname: []const u8

Source

pub fn create(owner: *std.Build, name: []const u8) *Run { const run = owner.allocator.create(Run) catch @panic("OOM"); run.* = .{ .step = Step.init(.{ .id = base_id, .name = name, .owner = owner, .makeFn = make, }), .argv = .{}, .cwd = null, .env_map = null, .disable_zig_progress = false, .stdio = .infer_from_args, .stdin = .none, .file_inputs = .{}, .rename_step_with_output_arg = true, .skip_foreign_checks = false, .failing_to_execute_foreign_is_an_error = true, .max_stdio_size = 10 * 1024 * 1024, .captured_stdout = null, .captured_stderr = null, .dep_output_file = null, .has_side_effects = false, .fuzz_tests = .{}, .rebuilt_executable = null, .producer = null, }; return run; }