2018-09-21 02:20:42 +03:00
|
|
|
# js-sys: WebAssembly in WebAssembly
|
2018-03-23 03:39:48 +03:00
|
|
|
|
2018-09-21 03:54:06 +03:00
|
|
|
[View documentation for this example online][dox] or [View compiled example
|
|
|
|
online][compiled]
|
2018-03-23 03:39:48 +03:00
|
|
|
|
2018-09-21 03:54:06 +03:00
|
|
|
[compiled]: https://rustwasm.github.io/wasm-bindgen/exbuild/wasm-in-wasm/
|
2018-09-21 02:20:42 +03:00
|
|
|
[dox]: https://rustwasm.github.io/wasm-bindgen/examples/wasm-in-wasm.html
|
|
|
|
|
|
|
|
You can build the example locally with:
|
2018-03-23 03:39:48 +03:00
|
|
|
|
|
|
|
```
|
|
|
|
$ ./build.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
(or running the commands on Windows manually)
|
|
|
|
|
2018-09-21 02:20:42 +03:00
|
|
|
and then visiting http://localhost:8080 in a browser should run the example!
|