diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-07-31 21:54:07 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-08-11 15:52:49 -0700 |
| commit | 749f10af49022597d873d41df5c600e97e5c4a37 (patch) | |
| tree | cb6da80d28fa284bdeb7b40d26ce8de9ca9b2306 /lib/std/debug/Pdb.zig | |
| parent | d625158354a02a18e9ae7975a144f30838884d5c (diff) | |
| download | zig-749f10af49022597d873d41df5c600e97e5c4a37.tar.gz zig-749f10af49022597d873d41df5c600e97e5c4a37.zip | |
std.ArrayList: make unmanaged the default
Diffstat (limited to 'lib/std/debug/Pdb.zig')
| -rw-r--r-- | lib/std/debug/Pdb.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/std/debug/Pdb.zig b/lib/std/debug/Pdb.zig index c8dccca497..4e46ab7bf6 100644 --- a/lib/std/debug/Pdb.zig +++ b/lib/std/debug/Pdb.zig @@ -76,7 +76,7 @@ pub fn parseDbiStream(self: *Pdb) !void { const mod_info_size = header.mod_info_size; const section_contrib_size = header.section_contribution_size; - var modules = std.ArrayList(Module).init(self.allocator); + var modules = std.array_list.Managed(Module).init(self.allocator); errdefer modules.deinit(); // Module Info Substream @@ -117,7 +117,7 @@ pub fn parseDbiStream(self: *Pdb) !void { } // Section Contribution Substream - var sect_contribs = std.ArrayList(pdb.SectionContribEntry).init(self.allocator); + var sect_contribs = std.array_list.Managed(pdb.SectionContribEntry).init(self.allocator); errdefer sect_contribs.deinit(); var sect_cont_offset: usize = 0; @@ -569,7 +569,7 @@ const MsfStream = struct { fn readSparseBitVector(stream: anytype, allocator: Allocator) ![]u32 { const num_words = try stream.readInt(u32, .little); - var list = std.ArrayList(u32).init(allocator); + var list = std.array_list.Managed(u32).init(allocator); errdefer list.deinit(); var word_i: u32 = 0; while (word_i != num_words) : (word_i += 1) { |
