Skip to main content

embed_and_encode

Function embed_and_encode 

Source
pub fn embed_and_encode(
    core_wasm: &[u8],
    wit_dir: &Path,
    world_name: Option<&str>,
) -> Result<Vec<u8>>
Expand description

Embeds WIT contract metadata into a core WebAssembly module and encodes it into a component.