Skip to content

Commit ab5e121

Browse files
authored
Merge pull request #360 from goosethedev/main
Add `wasm32-unknown-unknown` target on setup
2 parents 9da8384 + f8b046f commit ab5e121

File tree

1 file changed

+8
-1
lines changed
  • docs-src/0.6/src/getting_started

1 file changed

+8
-1
lines changed

docs-src/0.6/src/getting_started/index.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,14 @@ You can follow the [installation instructions](https://rust-analyzer.github.io/m
2323

2424
## Install Rust
2525

26-
Head over to [https://rust-lang.org](http://rust-lang.org) and install the Rust compiler.
26+
Head over to [https://rust-lang.org](http://rust-lang.org) and install the Rust compiler (preferably using `rustup`).
27+
28+
Once installed, make sure you add the `stable` toolchain and the `wasm32-unknown-unknown` target for web development:
29+
30+
```shell
31+
rustup toolchain install stable
32+
rustup target add wasm32-unknown-unknown
33+
```
2734

2835
We strongly recommend going through the [official Rust book](https://doc.rust-lang.org/book/ch01-00-getting-started.html) _completely_. However, we hope that a Dioxus app can serve as a great first Rust project.
2936

0 commit comments

Comments
 (0)