Skip to content

Commit f59d5f6

Browse files
committed
Use ArrayListUnmanaged for zig 0.15.2 and 0.16 compat
1 parent 999435d commit f59d5f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ pub fn build(b: *std.Build) !void {
228228
});
229229

230230
// work out which libraries we are building
231-
var libs = std.ArrayList(*Compile){};
231+
var libs: std.ArrayListUnmanaged(*Compile) = .empty;
232232
defer libs.deinit(heap.page_allocator);
233233
if (build_static) {
234234
try libs.append(heap.page_allocator, static_lib);

0 commit comments

Comments
 (0)