Skip to content

Commit

Permalink
docs: Add stable option
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Aug 12, 2024
1 parent b66f338 commit 7380d82
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/installation/riscv.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@

To build Rust applications for the Espressif chips based on `RISC-V` architecture, do the following:

1. Install the [`nightly`][rustup-book-channel-nightly] toolchain with the `rust-src` [component][rustup-book-components]:

1. Install the proper toolchain with the `rust-src` [component][rustup-book-components]:
- For `no_std` (bare-metal) applications, you can use both `stable` or [`nightly`][rustup-book-channel-nightly]:
```shell
rustup toolchain install stable --component rust-src
```
or
```shell
rustup toolchain install nightly --component rust-src
```
- For `std` applications, you need to use `nightly`:
```shell
rustup toolchain install nightly --component rust-src
```
Expand Down

0 comments on commit 7380d82

Please sign in to comment.