mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 19:27:12 +09:00
Use ArrayListUnmanaged for zig 0.15.2 and 0.16 compat
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user