diff --git a/src/link.zig b/src/link.zig index a704a59a2819019b0d6906a1ea49a06966de1e30..be4505c462076a5b4ee900db75e16ede3e05e6c3 100644 --- a/src/link.zig +++ b/src/link.zig @@ -2587,6 +2587,9 @@ fn resolveFrameworkInput( framework_directory: Directory, framework_query: UnresolvedInput.FrameworkQuery, ) Allocator.Error!ResolveLibInputResult { + try resolved_inputs.ensureUnusedCapacity(gpa, 1); + try archive_dedup.ensureUnusedCapacity(gpa, 1); + const sep = std.fs.path.sep_str; tbd: {