Module nix_wasm.memory
Memory allocators for WASM builtins.
Provides a bump-pointer Region allocator modelled after
std.
See Also
WasmAllocator, newWasmAllocator
Functions
| Name | Description |
|---|---|
newWasmAllocator()
|
Creates a fresh WasmAllocator backed by a function-local
static arena in WASM linear memory.
|
Structs
| Name | Description |
|---|---|
Region
|
Bump-pointer region allocator for WASM, modelled after
std.
|
Aliases
| Name | Type | Description |
|---|---|---|
WasmAllocator
|
Region!(8)
|
Default allocator type — 8-byte aligned bump region. |