Expand description
Internal generators for modifying and stitching Wasm structures.
Modules§
- abi_
connect - Module for ABI connection generation and overrides.
- anonymous
- Utilities for handling anonymous and generic WASM rewrites.
If
<anonymous>is specified, and there is only one target WASM, it will be automatically assigned. - check
- Type-checking routines for imported/exported functions.
- debug
- Internal debug formatting and trace generators.
- memory
- Generates and bridges memory copy, trap, and related VFS interactions.
- patch_
component - Routines for stripping or patching unused WASM components.
- producer
- Embeds module metadata.
- shared_
global - Low-level multi-threading global locks and shared allocations.
- special_
func - Bridges custom initializers,
_start,main_void, and reset routines. - start_
section - Handles re-writing of the WASM start section routines.
- threads
- Internal logic for rewriting WASI threads spawn imports to the VFS.
- wrap_
unreachable - Handles logic for rewriting unreachable instructions to prevent Wasm execution traps.
Structs§
- Component
Ctx - Sub-context for extracting and storing component variables during execution.
- Component
CtxVisitor - A generator acting as a visitor that propagates component contextual data.
- Component
Runner - A runner that coordinates the generation of a WebAssembly component.
- Generator
Ctx - Represents the generation context, holding configuration arguments and targeted module info.
- Generator
Runner - Coordinates iterating over registered generators and merging external module logic into the VFS.
- Module
External - Stores the identity of an external loaded Wasm target.
Enums§
- Wasm
Path - Represents the resolution state and file format targeting for manipulating WebAssembly modules intelligently.
Traits§
- Generator
- Defines the core trait for WASM transformations, hooks, and component optimizations over the build lifecycle.
Functions§
- merge
- Coordinates the underlying binary
wasm-mergeutility invocations to bundle outputs physically.