wasm-nm 0.2.1

Print the symbols that are imported in and exported from a wasm file.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![cfg(target_arch = "wasm32")]

#[no_mangle]
pub fn fluxions(x: usize) -> usize {
    unsafe { imported(x) }
}

#[no_mangle]
pub fn quicksilver(_: usize) {}

extern "C" {
    fn imported(x: usize) -> usize;
}

#[no_mangle]
pub fn main() {}