Commit 1714b74edf

Jakub Konka <kubkon@jakubkonka.com>
2024-09-25 16:32:23
incr-check: actually handle end message for a compiler update
1 parent 1c2048e
Changed files (1)
tools/incr-check.zig
@@ -266,7 +266,6 @@ const Eval = struct {
                         try eval.checkSuccessOutcome(update, null, prog_node);
                         // This message indicates the end of the update.
                         stdout.discard(body.len);
-                        return;
                     }
 
                     const digest = body[@sizeOf(EbpHdr)..][0..Cache.bin_digest_len];
@@ -290,7 +289,6 @@ const Eval = struct {
                     try eval.checkSuccessOutcome(update, bin_path, prog_node);
                     // This message indicates the end of the update.
                     stdout.discard(body.len);
-                    return;
                 },
                 else => {
                     // Ignore other messages.