| author | |
| committer | |
| log | 422e8d476c4f407abe2915932fc01012682051fe |
| tree | ec9e9fa787dea85579bd7f3359181416bd0bf474 |
| parent | 32a069f909a34b22a2049dca39ef5a1965cba21b |
| signature |
This was a regression in #24588.
I have verified that this patch works by confirming that with the
downstream patches SerenityOS apply to the Zig source tree (sans the one
working around this regression), I can build the build runner for
SerenityOS.
Resolves: #246821 files changed, 3 insertions(+), 0 deletions(-)
lib/compiler/build_runner.zig+3| ... | @@ -502,6 +502,9 @@ pub fn main() !void { | ... | @@ -502,6 +502,9 @@ pub fn main() !void { |
| 502 | }; | 502 | }; |
| 503 | } | 503 | } |
| 504 | 504 | ||
| 505 | // Comptime-known guard to prevent including the logic below when `!Watch.have_impl`. | ||
| 506 | if (!Watch.have_impl) unreachable; | ||
| 507 | |||
| 505 | try w.update(gpa, run.step_stack.keys()); | 508 | try w.update(gpa, run.step_stack.keys()); |
| 506 | 509 | ||
| 507 | // Wait until a file system notification arrives. Read all such events | 510 | // Wait until a file system notification arrives. Read all such events |