Skip to content

Commit f0fec95

Browse files
ianprime0509andrewrk
authored andcommitted
zig std: fix sources.tar generation
Analogous to #24576 for `-femit-docs`
1 parent 6dbcc3b commit f0fec95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/compiler/std-docs.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ fn serveSourcesTar(request: *std.http.Server.Request, context: *Context) !void {
229229

230230
// intentionally omitting the pointless trailer
231231
//try archiver.finish();
232+
try response_writer.new_interface.flush();
232233
try response.end();
233234
}
234235

0 commit comments

Comments
 (0)