Add an example of namespaced APIs

By creating wasm modules from Rust!
This commit is contained in:
Alex Crichton
2018-03-22 17:39:48 -07:00
parent 8830f540a9
commit 4716752991
12 changed files with 137 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
// 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());