Files
wasmeld/crates/wasmeld-runtime/src/bindings.rs
T

16 lines
480 B
Rust
Raw Normal View History

//! Typed host and guest bindings generated from independently versioned WIT packages.
// The service world defines the exports every runnable component implements.
wasmtime::component::bindgen!({
path: "../../wit/service",
world: "service-component",
});
/// Optional exports implemented only by active resident Components.
pub(crate) mod resident {
wasmtime::component::bindgen!({
path: "../../wit/resident",
world: "resident-component",
});
}