std.mem.Allocator's functions are not available in JavaScript. You have to use the following instead:
std.mem.Allocator
alloc(len, align)
free(arg)
dupe(arg)
There was an error while loading. Please reload this page.