wasm-init 0.2.2

Let's pretend that life-before-main exists for Rust targeting WebAssembly
Documentation
1
2
3
4
5
6
7
8
9
#[cfg(target_family = "wasm")]
mod wasm;
#[cfg(target_family = "wasm")]
pub use wasm::*;

#[cfg(not(target_family = "wasm"))]
mod stub;
#[cfg(not(target_family = "wasm"))]
pub use stub::*;