From 6b7ebfdddc28bfd1664a81038a84a3669efca200 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 9 Jul 2019 10:31:13 -0700 Subject: [PATCH] Rust 1.36, with wasm32-wasi support, is now stable! --- docs/WASI-intro.md | 4 ++-- docs/WASI-tutorial.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/WASI-intro.md b/docs/WASI-intro.md index a641befde1..97f1cbad44 100644 --- a/docs/WASI-intro.md +++ b/docs/WASI-intro.md @@ -29,8 +29,8 @@ toolchains will be able to implement WASI as well! To install a WASI-enabled Rust toolchain: ``` -rustup target add wasm32-wasi --toolchain nightly -cargo +nightly build --target wasm32-wasi +rustup target add wasm32-wasi +cargo build --target wasm32-wasi ``` Until now, Rust's WebAssembly support has had two main options, the diff --git a/docs/WASI-tutorial.md b/docs/WASI-tutorial.md index b3caa59255..cff9ab5713 100644 --- a/docs/WASI-tutorial.md +++ b/docs/WASI-tutorial.md @@ -152,8 +152,8 @@ Let's put this source in the main file of our crate `src/main.rs`. In order to build it, we first need to install a WASI-enabled Rust toolchain: ``` -$ rustup target add wasm32-wasi --toolchain nightly -$ cargo +nightly build --target wasm32-wasi +$ rustup target add wasm32-wasi +$ cargo build --target wasm32-wasi ``` We should now have the WebAssembly module created in `target/wasm32-wasi/debug`: