pub fn create(owner: *std.Build) *Options 25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41pub fn create(owner: *std.Build) *Options {
const graph = owner.graph;
const arena = graph.arena;
const options = arena.create(Options) catch @panic("OOM");
options.* = .{
.step = .init(.{
.tag = base_tag,
.name = "options",
.owner = owner,
}),
.generated_file = graph.addGeneratedFile(&options.step),
.encountered_types = .empty,
};
return options;
}