authorgravatar for xtex@astrafall.orgxtex <xtex@astrafall.org> 2025-11-22 22:12:59+08:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-01-12 11:21:54+01:00
logfc517bd01c8c60290e903e58f1f567b065ae72a0
tree1024caa98a12067750e87d77e9c86fbcfa99caa3
parent545982c0298812869712a58b9f16772f9b09abcd

Compilation: fix incorrect saved buf count

Change-Id: Ib2a2ffcb6224e571fed1151e687d8a8efe0bb95b

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

src/Compilation.zig+1-1
...@@ -3755,7 +3755,7 @@ pub fn saveState(comp: *Compilation) !void {...@@ -3755,7 +3755,7 @@ pub fn saveState(comp: *Compilation) !void {
3755 },3755 },
3756 });3756 });
37573757
3758 try bufs.ensureTotalCapacityPrecise(14 + 8 * pt_headers.items.len);3758 try bufs.ensureTotalCapacityPrecise(22 + 9 * pt_headers.items.len);
3759 addBuf(&bufs, mem.asBytes(&header));3759 addBuf(&bufs, mem.asBytes(&header));
3760 addBuf(&bufs, @ptrCast(pt_headers.items));3760 addBuf(&bufs, @ptrCast(pt_headers.items));
37613761