pub fn create(owner: *std.Build, error_msg: []const u8) *Fail
owner: *std.Build
error_msg: []const u8
13 14 15 16 17 18 19 20 21 22 23 24 25
pub fn create(owner: *std.Build, error_msg: []const u8) *Fail { const graph = owner.graph; const fail = graph.create(Fail); fail.* = .{ .step = .init(.{ .tag = base_tag, .name = "fail", .owner = owner, }), .error_msg = graph.addString(error_msg), }; return fail; }