pub fn init(allocator: Allocator) Wasi.InitError!Wasi
You must call deinit to free the internal buffer of the iterator after you are done.
allocator: Allocator
383 384 385 386 387 388 389 390
pub fn init(allocator: Allocator) Wasi.InitError!Wasi { const fetched_args = try Wasi.internalInit(allocator); return Wasi{ .allocator = allocator, .index = 0, .args = fetched_args, }; }
You must call deinit to free the internal buffer of the iterator after you are done.