you also sometimes have to do the same in 3d in some ways
you also sometimes have to do the same in 3d in some ways


fn (...) ... syntax is fucked?/home/kaij/justwasm-zig/zig-cache/o/3717970ebcce144641f210c8d2a6f188/build /usr/lib/zig/zig /home/kaij/justwasm-zig /home/kaij/justwasm-zig/zig-cache /home/kaij/.cache/zig test manuallyzig test Debug native: error: thread 2227356 panic: zig compiler bug: GenericPoison
Unable to dump stack trace: debug info strippedfn (...) .../home/kaij/justwasm-zig/zig-cache/o/3717970ebcce144641f210c8d2a6f188/build /usr/lib/zig/zig /home/kaij/justwasm-zig /home/kaij/justwasm-zig/zig-cache /home/kaij/.cache/zig testfn read_vector_allocating_pooled(comptime T: type, allocator: Allocator, instruction_pool: *InstructionPool, reader: anytype, comptime callback: fn (Allocator, *InstructionPool, anytype) anyerror!T) ![]T {
const len = try read_u32(reader);
const result = try allocator.alloc(T, len);
for (result) |*element| {
element.* = try callback(allocator, instruction_pool, reader);
}
return result;
}