authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-07-15 22:03:10-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-07-15 22:03:10-07:00
log3a6ef6ffe1258eda043bb6a44237cf980b5d7833
tree6b5483112e2384443fa6262bf1a0bfa89faff54c
parent8cb09db4e357c265ef3465fd736d36366d37a0a3

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.

1 files changed, 3 insertions(+), 0 deletions(-)

src/main.zig+3
...@@ -4230,6 +4230,9 @@ fn serveUpdateResults(s: *Server, comp: *Compilation) !void {...@@ -4230,6 +4230,9 @@ fn serveUpdateResults(s: *Server, comp: *Compilation) !void {
4230 });4230 });
4231 return;4231 return;
4232 }4232 }
4233
4234 // Serve empty error bundle to indicate the update is done.
4235 try s.serveErrorBundle(std.zig.ErrorBundle.empty);
4233}4236}
42344237
4235fn runOrTest(4238fn runOrTest(