| ... | @@ -305,10 +305,6 @@ fn linkAsArchive(lld: *Lld, arena: Allocator) link.Error!void { | ... | @@ -305,10 +305,6 @@ fn linkAsArchive(lld: *Lld, arena: Allocator) link.Error!void { |
| 305 | else | 305 | else |
| 306 | null; | 306 | null; |
| 307 | | 307 | |
| 308 | // This function follows the same pattern as link.Elf.linkWithLLD so if you want some | | |
| 309 | // insight as to what's going on here you can read that function body which is more | | |
| 310 | // well-commented. | | |
| 311 | | | |
| 312 | var object_files: std.ArrayList([*:0]const u8) = .empty; | 308 | var object_files: std.ArrayList([*:0]const u8) = .empty; |
| 313 | | 309 | |
| 314 | try object_files.ensureUnusedCapacity(arena, comp.link_inputs.len); | 310 | try object_files.ensureUnusedCapacity(arena, comp.link_inputs.len); |