mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
parent
a189335ea2
commit
6dbcc3bd54
1 changed files with 8 additions and 0 deletions
|
|
@ -4880,6 +4880,14 @@ fn docsCopyFallible(comp: *Compilation) anyerror!void {
|
||||||
try seen_table.ensureUnusedCapacity(comp.gpa, deps.len);
|
try seen_table.ensureUnusedCapacity(comp.gpa, deps.len);
|
||||||
for (deps) |dep| seen_table.putAssumeCapacity(dep, dep.fully_qualified_name);
|
for (deps) |dep| seen_table.putAssumeCapacity(dep, dep.fully_qualified_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tar_file_writer.end() catch |err| {
|
||||||
|
return comp.lockAndSetMiscFailure(
|
||||||
|
.docs_copy,
|
||||||
|
"unable to write '{f}/sources.tar': {t}",
|
||||||
|
.{ docs_path, err },
|
||||||
|
);
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
fn docsCopyModule(
|
fn docsCopyModule(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue