Function generate_rust_host

Source
pub fn generate_rust_host(
    abi_path: &str,
    out_dir: &str,
) -> Result<(), Box<dyn Error>>
Expand description

Generates Rust (Wasmtime) host function bindings from an ABI JSON file.

Reads and validates the manifest at abi_path, then writes host_<name>.rs into out_dir (created if needed). This is the library entry point behind the CLI’s --rust-host-out flag.