2026-07-27 04:59:33 +08:00
|
|
|
//! 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",
|
|
|
|
|
});
|
2026-07-30 07:40:08 +08:00
|
|
|
|
|
|
|
|
/// Optional exports implemented only by active resident Components.
|
|
|
|
|
pub(crate) mod resident {
|
|
|
|
|
wasmtime::component::bindgen!({
|
|
|
|
|
path: "../../wit/resident",
|
|
|
|
|
world: "resident-component",
|
|
|
|
|
});
|
|
|
|
|
}
|