From 3a6ef6ffe1258eda043bb6a44237cf980b5d7833 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 15 Jul 2024 22:03:10 -0700 Subject: [PATCH] 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. --- src/main.zig | 3 +++ 1 file changed, 3 insertions(+) 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(