Expand description
Wasmtime WebAssembly Component Model runtime for widget execution.
Widgets are precompiled WASM components that export a standard WIT interface.
Each widget execution creates a fresh Runtime instance — no WASM state
persists between runs.
§Precompiled Widgets
Runtime::load_module expects a precompiled WASM component for the xtensa architecture
This is done via the precompiler script.
All of this will be done automaticall when the widget-template is used to create a widget.
Modules§
- host_
api 🔒 - Host API implementations for wamstime runtime.
- http_
sync - Channel-based bridge allowing synchronous HTTP calls from Wasmtime host function runtime::host_api::http.
- platform 🔒
- widget
Structs§
- Runtime
- Widget
- Auto-generated bindings for an instance a component which
implements the world
widget. - Widget
Indices - Auto-generated bindings for index of the exports of
widget. - Widget
Pre - Auto-generated bindings for a pre-instantiated version of a
component which implements the world
widget. - Widget
State - Struct to how potential object states that are passed and useable inside of the host function. Currently empty.