wasm-core 0.2.15

Portable WebAssembly implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod generic;

macro_rules! import_platform {
    ($arch:expr, $os:expr, $m:ident) => {
        #[cfg(all(target_arch = $arch, target_os = $os))]
        pub mod $m;
        #[cfg(all(target_arch = $arch, target_os = $os))]
        pub use self::$m as current;
    }
}

import_platform!("x86_64", "linux", x86_64_linux);

pub mod other;
#[cfg(not(all(target_arch = "x86_64", target_os = "linux")))]
pub use self::other as current;