#[cfg(feature = "arena-guest")]
#[allow(unsafe_code, clippy::all)]
pub mod arena {
wit_bindgen::generate!({
path: "wit/arena",
world: "arena",
pub_export_macro: true,
export_macro_name: "export_arena",
default_bindings_module: "botstadia_interface::bindings::arena",
});
}
#[cfg(feature = "agent-guest")]
#[allow(unsafe_code, clippy::all)]
pub mod agent {
wit_bindgen::generate!({
path: "wit/agent",
world: "agent",
pub_export_macro: true,
export_macro_name: "export_agent",
default_bindings_module: "botstadia_interface::bindings::agent",
});
}
#[cfg(feature = "host")]
#[allow(unsafe_code, clippy::all)]
pub mod host {
pub mod arena {
wasmtime::component::bindgen!({
path: "wit/arena",
world: "arena",
});
}
pub mod agent {
wasmtime::component::bindgen!({
path: "wit/agent",
world: "agent",
});
}
}