Skip to main content

compile_to_wasm_with

Function compile_to_wasm_with 

Source
pub fn compile_to_wasm_with(
    source: &str,
    entries: &HostEntries,
) -> Result<Vec<u8>, ParseError>
Expand description

compile_to_wasm for a host that enters the module by name beyond main: the components a test mounts at a statement of its own (crate::vm::reach::HostEntries). A shipped page’s entries are the default, and its module is exactly the one compile_to_wasm writes.