diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-07-09 21:08:20 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-07-12 00:14:08 -0700 |
| commit | 0cc492a272ef9c03a34b57a26bf570b242615ddf (patch) | |
| tree | 8b3ce5767406aeb02c16f4c3538b1ddcaf89d62d /lib/std/Build/Step/ConfigHeader.zig | |
| parent | 956f1ebc707f8a2530e49b80357768f3bf1235ac (diff) | |
| download | zig-0cc492a272ef9c03a34b57a26bf570b242615ddf.tar.gz zig-0cc492a272ef9c03a34b57a26bf570b242615ddf.zip | |
make more build steps integrate with the watch system
Diffstat (limited to 'lib/std/Build/Step/ConfigHeader.zig')
| -rw-r--r-- | lib/std/Build/Step/ConfigHeader.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/Build/Step/ConfigHeader.zig b/lib/std/Build/Step/ConfigHeader.zig index 6390a88da7..fd655125cf 100644 --- a/lib/std/Build/Step/ConfigHeader.zig +++ b/lib/std/Build/Step/ConfigHeader.zig @@ -168,6 +168,8 @@ fn make(step: *Step, prog_node: std.Progress.Node) !void { _ = prog_node; const b = step.owner; const config_header: *ConfigHeader = @fieldParentPtr("step", step); + if (config_header.style.getPath()) |lp| try step.singleUnchangingWatchInput(lp); + const gpa = b.allocator; const arena = b.allocator; |
