polywrap_wasm.linker.wrap_linker module
This module contains the linker for all wrap imports.
- class polywrap_wasm.linker.wrap_linker.WrapLinker(linker: Linker, wrap_imports: WrapImports)[source]
Bases:
WrapAbortLinker,WrapDebugLinker,WrapEnvLinker,WrapGetImplementationsLinker,WrapInvokeLinker,WrapSubinvokeLinker,WrapSubinvokeImplementationLinkerLinker for the Wrap Wasm module.
This class is responsible for linking all the Wasm imports to the Wasm module.
- Parameters:
linker – The Wasm linker instance.
wrap_imports – The Wasm imports instance.
- linker
The Wasm linker instance.
- Type:
wasmtime._linker.Linker
- wrap_imports
The Wasm imports instance.