mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-07-31 03:51:56 +00:00
Add an example of namespaced APIs
By creating wasm modules from Rust!
This commit is contained in:
4
examples/wasm-in-wasm/index.js
Normal file
4
examples/wasm-in-wasm/index.js
Normal 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());
|
Reference in New Issue
Block a user