aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step/CheckFile.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-07-09 21:08:20 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-07-12 00:14:08 -0700
commit0cc492a272ef9c03a34b57a26bf570b242615ddf (patch)
tree8b3ce5767406aeb02c16f4c3538b1ddcaf89d62d /lib/std/Build/Step/CheckFile.zig
parent956f1ebc707f8a2530e49b80357768f3bf1235ac (diff)
downloadzig-0cc492a272ef9c03a34b57a26bf570b242615ddf.tar.gz
zig-0cc492a272ef9c03a34b57a26bf570b242615ddf.zip
make more build steps integrate with the watch system
Diffstat (limited to 'lib/std/Build/Step/CheckFile.zig')
-rw-r--r--lib/std/Build/Step/CheckFile.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/Build/Step/CheckFile.zig b/lib/std/Build/Step/CheckFile.zig
index b7ce2ded61..c7a2046c1f 100644
--- a/lib/std/Build/Step/CheckFile.zig
+++ b/lib/std/Build/Step/CheckFile.zig
@@ -50,6 +50,7 @@ fn make(step: *Step, prog_node: std.Progress.Node) !void {
_ = prog_node;
const b = step.owner;
const check_file: *CheckFile = @fieldParentPtr("step", step);
+ try step.singleUnchangingWatchInput(check_file.source);
const src_path = check_file.source.getPath2(b, step);
const contents = fs.cwd().readFileAlloc(b.allocator, src_path, check_file.max_bytes) catch |err| {