authorgravatar for ian@ianjohnson.devIan Johnson <ian@ianjohnson.dev> 2025-07-24 22:15:54-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-07-24 19:24:10-07:00
log6dbcc3bd5430a3f4ae1cf891f5270a989e4b1334
tree192e1e16d3a5b4ee692d85dbab74d352ea98d1a1
parenta189335ea2e8750dcfce084eb375417798525351

Autodoc: fix sources.tar generation

Closes #24565

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

src/Compilation.zig+8
......@@ -4880,6 +4880,14 @@ fn docsCopyFallible(comp: *Compilation) anyerror!void {
48804880 try seen_table.ensureUnusedCapacity(comp.gpa, deps.len);
48814881 for (deps) |dep| seen_table.putAssumeCapacity(dep, dep.fully_qualified_name);
48824882 }
4883
4884 tar_file_writer.end() catch |err| {
4885 return comp.lockAndSetMiscFailure(
4886 .docs_copy,
4887 "unable to write '{f}/sources.tar': {t}",
4888 .{ docs_path, err },
4889 );
4890 };
48834891}
48844892
48854893fn docsCopyModule(