aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step/CheckObject.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-07-14 19:48:08 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-07-14 19:51:16 -0700
commitabf895595189eb45df8c97f4029c58976815b450 (patch)
tree5ea03d7fc0485f6dc86eb34d185992f69cf8a190 /lib/std/Build/Step/CheckObject.zig
parentd404d8a3637bc30dffc736e5fa1a68b8af0e19cb (diff)
downloadzig-abf895595189eb45df8c97f4029c58976815b450.tar.gz
zig-abf895595189eb45df8c97f4029c58976815b450.zip
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
Diffstat (limited to 'lib/std/Build/Step/CheckObject.zig')
-rw-r--r--lib/std/Build/Step/CheckObject.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/Build/Step/CheckObject.zig b/lib/std/Build/Step/CheckObject.zig
index 93ee57e3b4..ce33003117 100644
--- a/lib/std/Build/Step/CheckObject.zig
+++ b/lib/std/Build/Step/CheckObject.zig
@@ -550,8 +550,8 @@ pub fn checkComputeCompare(
check_object.checks.append(check) catch @panic("OOM");
}
-fn make(step: *Step, prog_node: std.Progress.Node) !void {
- _ = prog_node;
+fn make(step: *Step, make_options: Step.MakeOptions) !void {
+ _ = make_options;
const b = step.owner;
const gpa = b.allocator;
const check_object: *CheckObject = @fieldParentPtr("step", step);