1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-06-25 18:51:35 +00:00
Files
crates
examples
add
asm.js
char
closures
comments
console_log
dom
hello_world
import_js
math
no_modules
performance
smorgasboard
wasm-in-wasm
src
.gitignore
Cargo.toml
README.md
build.sh
index.html
index.js
package.json
webpack.config.js
README.md
guide
releases
src
tests
.appveyor.yml
.eslintrc.js
.gitignore
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md
package-lock.json
package.json
wasm-bindgen/examples/wasm-in-wasm/index.js

5 lines
152 B
JavaScript
Raw Normal View History

// 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());