diff options
Diffstat (limited to 'lib/compiler')
| -rw-r--r-- | lib/compiler/build_runner.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/compiler/build_runner.zig b/lib/compiler/build_runner.zig index e97b7aa313..f1a0caf47c 100644 --- a/lib/compiler/build_runner.zig +++ b/lib/compiler/build_runner.zig @@ -502,6 +502,9 @@ pub fn main() !void { }; } + // Comptime-known guard to prevent including the logic below when `!Watch.have_impl`. + if (!Watch.have_impl) unreachable; + try w.update(gpa, run.step_stack.keys()); // Wait until a file system notification arrives. Read all such events |
