Commit 3a6ef6ffe1

Andrew Kelley <andrew@ziglang.org>
2024-07-16 07:03:10
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 parent 8cb09db
Changed files (1)
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(