2018-12-03 11:37:30 +01:00
|
|
|
// For more comments about what's going on here, check out the `hello_world`
|
|
|
|
// example
|
2019-08-27 18:18:38 +01:00
|
|
|
const rust = import('./pkg');
|
2019-02-11 18:43:23 +00:00
|
|
|
|
|
|
|
rust
|
|
|
|
.then(m => m.run())
|
2018-12-03 11:37:30 +01:00
|
|
|
.catch(console.error);
|