Update Rust instructions, add a link to wasi-sysroot.

This commit is contained in:
Dan Gohman
2019-03-31 06:28:42 -07:00
parent 7378a0bfbe
commit a6f31a2be3
2 changed files with 7 additions and 3 deletions

View File

@@ -26,9 +26,12 @@ toolchains will be able to implement WASI as well!
### Rust
To install a WASI-enabled Rust toolchain, follow the instructions here:
To install a WASI-enabled Rust toolchain:
https://github.com/alexcrichton/rust/releases/tag/wasi3
```
rustup target add wasm32-unknown-wasi --toolchain nightly
cargo +nightly build --target wasm32-unknown-wasi
```
Until now, Rust's WebAssembly support has had two main options, the
Emscripten-based option, and the wasm32-unknown-unknown option. The latter