Function create [src]

Prototype

pub fn create(owner: *std.Build) *Options

Parameters

owner: *std.Build

Source

pub fn create(owner: *std.Build) *Options { const options = owner.allocator.create(Options) catch @panic("OOM"); options.* = .{ .step = .init(.{ .id = base_id, .name = "options", .owner = owner, .makeFn = make, }), .generated_file = undefined, .contents = .empty, .args = .empty, .encountered_types = .empty, }; options.generated_file = .{ .step = &options.step }; return options; }