1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-04-02 10:21:07 +00:00
Alex Crichton 4716752991 Add an example of namespaced APIs
By creating wasm modules from Rust!
2018-03-22 17:39:48 -07:00

5 lines
152 B
JavaScript

// For more comments about what's going on here, check out the `hello_world`
// example
const rust = import("./wasm_in_wasm");
rust.then(m => m.run());