Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ Install [Rust](https://www.rust-lang.org/tools/install) via [rustup.rs](https://
```
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source ~/.bashrc
rustup install 1.85.1 1.81.0
rustup default 1.85.1
rustup install 1.89.0 1.81.0
rustup default 1.89.0
cargo install cargo-ndk
```

Expand Down Expand Up @@ -209,12 +209,12 @@ brew install brotli cairo coreutils gdbm gettext glib gmp libevent libidn2 libng
```
<!-- TODO: determine which of the above list are not needed at all. -->

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):
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.89.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):
```
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source ~/.bashrc
rustup install 1.86.0 1.85.1 1.81.0
rustup default 1.85.1
rustup install 1.89.0 1.81.0
rustup default 1.89.0
cargo install cargo-ndk
cargo install cbindgen cargo-lipo
rustup target add aarch64-apple-ios aarch64-apple-darwin
Expand Down Expand Up @@ -294,8 +294,8 @@ Install Flutter 3.38.5 on your Windows host (not in WSL2) by [following their gu
### Rust
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:
```
rustup install 1.86.0 1.85.1 1.81.0
rustup default 1.85.1
rustup install 1.89.0 1.81.0
rustup default 1.89.0
cargo install cargo-ndk
```

Expand Down
4 changes: 2 additions & 2 deletions scripts/rust_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

set_rust_to_everything_else() {
if rustup toolchain list | grep -q "1.85.1"; then
rustup default 1.85.1
rustup default 1.89.0
else
echo "Rust version 1.85.1 is not installed. Please install it using 'rustup install 1.85.1'." >&2
echo "Rust version 1.89.0 is not installed. Please install it using 'rustup install 1.89.0'." >&2
exit 1
fi
}
Expand Down
Loading