Skip to content

Commit

Permalink
cargo to 1.70 as required by cargo-generate
Browse files Browse the repository at this point in the history
  • Loading branch information
bindsi committed Nov 6, 2023
1 parent d59b6d2 commit 2522e4f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/development/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ The majority of Akri is written in Rust. To install Rust and Akri's component's
```sh
./build/setup.sh
```
If you previously installed Rust ensure you are using the v1.68.1 toolchain that Akri's build system uses:
If you previously installed Rust ensure you are using the v1.70 toolchain that Akri's build system uses:
```sh
sudo curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=1.68.1
rustup default 1.68.1
sudo curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=1.70
rustup default 1.70
cargo version
```

Expand All @@ -39,14 +39,14 @@ cargo version
./build/setup.sh
```

If you previously installed Rust, ensure you are using the v1.68.1 toolchain that Akri's build system uses:
If you previously installed Rust, ensure you are using the v1.70 toolchain that Akri's build system uses:
```sh
sudo curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=1.68.1
sudo curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=1.70
```
Then, configure your current shell to see Cargo and set `v1.68.1` as default toolchain.
Then, configure your current shell to see Cargo and set `v1.70` as default toolchain.
```sh
source $HOME/.cargo/env
rustup default 1.68.1
rustup default 1.70
cargo version
```
Expand Down

0 comments on commit 2522e4f

Please sign in to comment.