aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step/CheckObject.zig
diff options
context:
space:
mode:
authorBenjamin Jurk <106487517+bnjmnjrk@users.noreply.github.com>2025-11-20 23:46:23 +0100
committerGitHub <noreply@github.com>2025-11-20 14:46:23 -0800
commit4b5351bc0ddc248d6935d7d160a57cb4dfe4dedd (patch)
tree8ce84d4e44a8ee1abaf0ef71d8287cec4b0f8c0a /lib/std/Build/Step/CheckObject.zig
parentdb622f14c445b4f55981636543c546e22346abd5 (diff)
downloadzig-4b5351bc0ddc248d6935d7d160a57cb4dfe4dedd.tar.gz
zig-4b5351bc0ddc248d6935d7d160a57cb4dfe4dedd.zip
update deprecated ArrayListUnmanaged usage (#25958)
Diffstat (limited to 'lib/std/Build/Step/CheckObject.zig')
-rw-r--r--lib/std/Build/Step/CheckObject.zig16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/std/Build/Step/CheckObject.zig b/lib/std/Build/Step/CheckObject.zig
index ab10d368b2..4d5071d2c7 100644
--- a/lib/std/Build/Step/CheckObject.zig
+++ b/lib/std/Build/Step/CheckObject.zig
@@ -721,12 +721,12 @@ const MachODumper = struct {
gpa: Allocator,
data: []const u8,
header: macho.mach_header_64,
- segments: std.ArrayListUnmanaged(macho.segment_command_64) = .empty,
- sections: std.ArrayListUnmanaged(macho.section_64) = .empty,
- symtab: std.ArrayListUnmanaged(macho.nlist_64) = .empty,
- strtab: std.ArrayListUnmanaged(u8) = .empty,
- indsymtab: std.ArrayListUnmanaged(u32) = .empty,
- imports: std.ArrayListUnmanaged([]const u8) = .empty,
+ segments: std.ArrayList(macho.segment_command_64) = .empty,
+ sections: std.ArrayList(macho.section_64) = .empty,
+ symtab: std.ArrayList(macho.nlist_64) = .empty,
+ strtab: std.ArrayList(u8) = .empty,
+ indsymtab: std.ArrayList(u32) = .empty,
+ imports: std.ArrayList([]const u8) = .empty,
fn parse(ctx: *ObjectContext) !void {
var it = try ctx.getLoadCommandIterator();
@@ -1767,9 +1767,9 @@ const ElfDumper = struct {
const ArchiveContext = struct {
gpa: Allocator,
data: []const u8,
- symtab: std.ArrayListUnmanaged(ArSymtabEntry) = .empty,
+ symtab: std.ArrayList(ArSymtabEntry) = .empty,
strtab: []const u8,
- objects: std.ArrayListUnmanaged(struct { name: []const u8, off: usize, len: usize }) = .empty,
+ objects: std.ArrayList(struct { name: []const u8, off: usize, len: usize }) = .empty,
fn parseSymtab(ctx: *ArchiveContext, raw: []const u8, ptr_width: enum { p32, p64 }) !void {
var reader: std.Io.Reader = .fixed(raw);