silk.platform.wasi.canonical.
The canonical ABI allocator of every wasm32-wasip2 component.
When to use#
The standard library's catalog names this module as a wasm32-wasip2 support module, so every
component exports cabi_realloc, whatever its runtime. Applications do not call it.
Details#
The canonical ABI and the command adapter allocate through cabi_realloc, so their storage stays
in the program's heap; a separate memory.grow allocator would overlap it.
Public declarations: 0.
This module declares no public items.
Category: Native platform.
Profiles: aarch64-apple-darwin, aarch64-unknown-linux-gnu, aarch64-unknown-linux-gnu-no-libc, x86_64-unknown-linux-gnu, x86_64-unknown-linux-gnu-no-libc, wasm32-unknown-unknown, wasm32-wasip1, wasm32-wasip2, x86_64-pc-windows-msvc, wasm64-unknown-unknown.