8000 Recommend Rust users use "beta" rather than "stable" for WASI support. · CraneStation/wasi@d3a4230 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Nov 11, 2019. It is now read-only.

Commit d3a4230

Browse files
committed
Recommend Rust users use "beta" rather than "stable" for WASI support.
In addition to using the new triple, this arranges for users get the following fixes: - rust-lang/rust#60117 - rust-lang/rust#59727
1 parent 6c1ce87 commit d3a4230

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ Here's a quick guide to the repositories where things live:
1212

1313
[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."
1414

15-
WASI-enabled Rust - Rust 1.35 now has built-in WASI support. To get started using Rust for targeting WASI:
15+
WASI-enabled Rust - Rust 1.36 (currently in beta) has built-in WASI support. To get started using Rust for targeting WASI:
1616

1717
```
18-
rustup target add wasm32-unknown-wasi
19-
cargo build --target wasm32-unknown-wasi
18+
rustup target add wasm32-wasi --toolchain beta
19+
cargo +beta build --target wasm32-wasi
2020
```
2121

22-
(Note: For Rust 1.36 and later, use `wasm32-wasi` instead of `wasm32-unknown-wasi`.)
23-
2422
[wasi-libc](https://github.com/CraneStation/wasi-libc/) - WASI libc sources.
2523

2624
[wasmtime](https://github.com/CraneStation/wasmtime/) - Wasmtime WebAssembly runtime, with WASI support, as well as the WASI documentation.

0 commit comments

Comments
 (0)
0