wasm-bridge 0.2.1

Run WASM modules on desktop or on the web using wasmtime's API
Documentation
1
2
3
4
5
6
7
8
#[cfg(not(target_arch = "wasm32"))]
mod sys;

#[cfg(not(target_arch = "wasm32"))]
pub use sys::*;

#[cfg(target_arch = "wasm32")]
pub use wasm_bridge_js::*;