Use ArrayListUnmanaged for zig 0.15.2 and 0.16 compat

This commit is contained in:
Frank Denis
2026-03-15 10:58:42 +01:00
parent 999435df3d
commit f59d5f6d55
+1 -1
View File
@@ -228,7 +228,7 @@ pub fn build(b: *std.Build) !void {
});
// work out which libraries we are building
var libs = std.ArrayList(*Compile){};
var libs: std.ArrayListUnmanaged(*Compile) = .empty;
defer libs.deinit(heap.page_allocator);
if (build_static) {
try libs.append(heap.page_allocator, static_lib);