From b05219eb580796e66e67d5163baa48624c60ea09 Mon Sep 17 00:00:00 2001 From: Dan Callahan Date: Tue, 4 Jun 2019 13:09:49 +0100 Subject: [PATCH] Note that Rust stable supports WASI as of 1.35 --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 343daff..7da9539 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,15 @@ Here's a quick guide to the repositories where things live: [wasi-sdk](https://github.com/CraneStation/wasi-sdk) - “WASI SDK” packages for C/C++. If you want to try out compiling C/C++, this is a good place to start. "It's just clang." -WASI-enabled Rust - Rust Nightly builds now have built-in WASI support. To get started using Rust for targeting WASI: +WASI-enabled Rust - Rust 1.35 now has built-in WASI support. To get started using Rust for targeting WASI: ``` -rustup target add wasm32-wasi --toolchain nightly -cargo +nightly build --target wasm32-wasi +rustup target add wasm32-unknown-wasi +cargo build --target wasm32-unknown-wasi ``` +(Note: For Rust 1.36 and later, use `wasm32-wasi` instead of `wasm32-unknown-wasi`.) + [wasi-libc](https://github.com/CraneStation/wasi-libc/) - WASI libc sources. [wasmtime](https://github.com/CraneStation/wasmtime/) - Wasmtime WebAssembly runtime, with WASI support, as well as the WASI documentation.