From abf895595189eb45df8c97f4029c58976815b450 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 14 Jul 2024 19:48:08 -0700 Subject: make zig compiler processes live across rebuilds Changes the `make` function signature to take an options struct, which additionally includes `watch: bool`. I intentionally am not exposing this information to configure phase logic. Also adds global zig cache to the compiler cache prefixes. Closes #20600 --- lib/std/Build/Step/RemoveDir.zig | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/std/Build/Step/RemoveDir.zig') diff --git a/lib/std/Build/Step/RemoveDir.zig b/lib/std/Build/Step/RemoveDir.zig index 1b7dc7feb8..e2d4c02abc 100644 --- a/lib/std/Build/Step/RemoveDir.zig +++ b/lib/std/Build/Step/RemoveDir.zig @@ -23,10 +23,8 @@ pub fn create(owner: *std.Build, doomed_path: LazyPath) *RemoveDir { return remove_dir; } -fn make(step: *Step, prog_node: std.Progress.Node) !void { - // TODO update progress node while walking file system. - // Should the standard library support this use case?? - _ = prog_node; +fn make(step: *Step, options: Step.MakeOptions) !void { + _ = options; const b = step.owner; const remove_dir: *RemoveDir = @fieldParentPtr("step", step); -- cgit v1.2.3