multiplex compiler progress messages into the build runner

This commit is contained in:
Andrew Kelley
2023-02-28 23:58:13 -07:00
parent 81376e7205
commit 0e078790fe
21 changed files with 131 additions and 31 deletions

View File

@@ -99,7 +99,8 @@ pub fn getFileSource(wf: *WriteFileStep, sub_path: []const u8) ?std.Build.FileSo
return null;
}
fn make(step: *Step) !void {
fn make(step: *Step, prog_node: *std.Progress.Node) !void {
_ = prog_node;
const wf = @fieldParentPtr(WriteFileStep, "step", step);
// Writing to source files is kind of an extra capability of this