aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-07-15 22:03:10 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-07-15 22:03:10 -0700
commit3a6ef6ffe1258eda043bb6a44237cf980b5d7833 (patch)
tree6b5483112e2384443fa6262bf1a0bfa89faff54c /src/main.zig
parent8cb09db4e357c265ef3465fd736d36366d37a0a3 (diff)
downloadzig-3a6ef6ffe1258eda043bb6a44237cf980b5d7833.tar.gz
zig-3a6ef6ffe1258eda043bb6a44237cf980b5d7833.zip
frontend server: serveUpdateResults fix
Serve empty error bundle to indicate the update is done. Otherwise the build system, when using -fno-emit-bin, fails to detect the update is done.
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig
index 2b36c31865..a5b315c2bb 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -4230,6 +4230,9 @@ fn serveUpdateResults(s: *Server, comp: *Compilation) !void {
});
return;
}
+
+ // Serve empty error bundle to indicate the update is done.
+ try s.serveErrorBundle(std.zig.ErrorBundle.empty);
}
fn runOrTest(