Skip to content

Commit 0323a14

Browse files
Merge pull request #1238 from cypherstack/fix/xelis
Fix scripts for Xelis (use rust 1.89.0) and update docs accordingly
2 parents 513d939 + 0d87384 commit 0323a14

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

docs/building.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ Install [Rust](https://www.rust-lang.org/tools/install) via [rustup.rs](https://
6262
```
6363
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
6464
source ~/.bashrc
65-
rustup install 1.85.1 1.81.0
66-
rustup default 1.85.1
65+
rustup install 1.89.0 1.81.0
66+
rustup default 1.89.0
6767
cargo install cargo-ndk
6868
```
6969

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

212-
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):
212+
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):
213213
```
214214
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
215215
source ~/.bashrc
216-
rustup install 1.86.0 1.85.1 1.81.0
217-
rustup default 1.85.1
216+
rustup install 1.89.0 1.81.0
217+
rustup default 1.89.0
218218
cargo install cargo-ndk
219219
cargo install cbindgen cargo-lipo
220220
rustup target add aarch64-apple-ios aarch64-apple-darwin
@@ -294,8 +294,8 @@ Install Flutter 3.38.5 on your Windows host (not in WSL2) by [following their gu
294294
### Rust
295295
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:
296296
```
297-
rustup install 1.86.0 1.85.1 1.81.0
298-
rustup default 1.85.1
297+
rustup install 1.89.0 1.81.0
298+
rustup default 1.89.0
299299
cargo install cargo-ndk
300300
```
301301

scripts/rust_version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
set_rust_to_everything_else() {
55
if rustup toolchain list | grep -q "1.85.1"; then
6-
rustup default 1.85.1
6+
rustup default 1.89.0
77
else
8-
echo "Rust version 1.85.1 is not installed. Please install it using 'rustup install 1.85.1'." >&2
8+
echo "Rust version 1.89.0 is not installed. Please install it using 'rustup install 1.89.0'." >&2
99
exit 1
1010
fi
1111
}

0 commit comments

Comments
 (0)