mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-15 09:40:52 +00:00
8 lines
171 B
JavaScript
8 lines
171 B
JavaScript
// For more comments about what's going on here, check out the `hello_world`
|
|
// example
|
|
const rust = import('./pkg');
|
|
|
|
rust
|
|
.then(m => m.run())
|
|
.catch(console.error);
|