pub fn module() -> Result<Module, ContextError> {
    let mut module = Module::with_crate_item("std", &["io"]);
    module.function(&["print"], print_impl)?;
    module.function(&["println"], println_impl)?;
    module.raw_fn(&["dbg"], dbg_impl)?;
    Ok(module)
}
/// Provide a bunch of `std` functions which does something appropriate to the
/// wasm context.
Provide a bunch of `std` functions which does something appropriate to the
wasm context.
Provide a bunch of ` std ` functions which does something appropriate to the wasm context .
pub fn module() -> Result<Module, ContextError> {
    let mut module = Module::with_crate_item("std", &["io"]);
    module.function(&["print"], print_impl)?;
    module.function(&["println"], println_impl)?;
    module.raw_fn(&["dbg"], dbg_impl)?;
    Ok(module)
}
pub fn module ( ) -> Result < Module , ContextError > { let mut module = Module :: with_crate_item ( " " , & [ " " ] ) ; module . function ( & [ " " ] , print_impl ) ? ; module . function ( & [ " " ] , println_impl ) ? ; module . raw_fn ( & [ " " ] , dbg_impl ) ? ; Ok ( module ) }
Provide a bunch of `std` functions which does something appropriate to the
wasm context.
Provide a bunch of ` std ` functions which does something appropriate to the wasm context .