Skip to content

Commit f19c30c

Browse files
committed
docs: update rust toolchain. cargo-ndk requires 1.86
1 parent 9528f4b commit f19c30c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/building.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,11 @@ brew install brotli cairo coreutils gdbm gettext glib gmp libevent libidn2 libng
213213
```
214214
<!-- TODO: determine which of the above list are not needed at all. -->
215215

216-
Download and install [Rust](https://www.rust-lang.org/tools/install). [Rustup](https://rustup.rs/) is recommended for Rust setup. Use `rustc` to confirm successful installation. Install toolchains 1.81.0 and 1.85.1 and `cbindgen` and `cargo-lipo` too. You will also have to add the platform target(s) `aarch64-apple-ios` and/or `aarch64-apple-darwin`. You can use the command(s):
216+
Download and install [Rust](https://www.rust-lang.org/tools/install). [Rustup](https://rustup.rs/) is recommended for Rust setup. Use `rustc` to confirm successful installation. Install toolchains 1.81.0, 1.85.1, and 1.86.0, as well as `cbindgen` and `cargo-lipo` too. You will also have to add the platform target(s) `aarch64-apple-ios` and/or `aarch64-apple-darwin`. You can use the command(s):
217217
```
218218
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
219219
source ~/.bashrc
220-
rustup install 1.85.1 1.81.0
220+
rustup install 1.86.0 1.85.1 1.81.0
221221
rustup default 1.85.1
222222
cargo install cargo-ndk
223223
cargo install cbindgen cargo-lipo
@@ -309,7 +309,7 @@ Run `flutter doctor` in PowerShell to confirm its installation.
309309
### Rust
310310
Install [Rust](https://www.rust-lang.org/tools/install) on the Windows host (not in WSL2). Download the installer from [rustup.rs](https://rustup.rs), make sure it works on the commandline (you may need to open a new terminal), and install the following versions:
311311
```
312-
rustup install 1.85.1 1.81.0
312+
rustup install 1.86.0 1.85.1 1.81.0
313313
rustup default 1.85.1
314314
cargo install cargo-ndk
315315
```

0 commit comments

Comments
 (0)