pub fn create(owner: *std.Build, options: Options) *InstallDir
pub fn create(owner: *std.Build, options: Options) *InstallDir { const install_dir = owner.allocator.create(InstallDir) catch @panic("OOM"); const graph = owner.graph; install_dir.* = .{ .step = Step.init(.{ .tag = base_tag, .name = owner.fmt("install {f}/", .{options.source_dir}), .owner = owner, }), .options = options.dupe(graph), }; options.source_dir.addStepDependencies(&install_dir.step); return install_dir; }