Expand description
Generates and bridges memory copy, trap, and related VFS interactions.
Structs§
- Memory
Bridge - When exchanging data via Wasip1ABI, there are operations involving writing to and reading from memory. However, as these cannot be accessed during compilation, alternative functions are employed. These shall be replaced.
- Memory
Trap - The final wasm, due to ABI constraints, only exposes vfs memory. Therefore, when calling the ABI from non-vfs memory, data must be copied. However, when ultimately consolidating memory into a single pool, data can be passed externally by directly passing pointers. To implement this optimization, a function is provided to determine the pointer bias before memory consolidation.
- Temporary
Refuge Memory - ABI Generator: Manages memory configurations temporarily during transpilation.
Enums§
- Memory
Unique Name - Encapsulates naming variants reserved for VFS memory interactions.