Documentation
¶
Overview ¶
Package cabi is the guest side of the Canonical ABI's memory for Go programs built with GOOS=wasip1: the cabi_realloc export a host calls to return lists and strings, guest-side allocations for arguments, and the guest's own linear memory as a wit.Memory. Blocks stay pinned (reachable from Go) until Release, which a caller runs once a host call's results have been copied out.
A program links one cabi_realloc: every guest package of this module that needs it imports this one.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.