Update instructions
This commit is contained in:
@@ -28,7 +28,7 @@ git lfs pull
|
|||||||
### Install rust
|
### Install rust
|
||||||
```
|
```
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
|
||||||
| sh -s -- -y --default-toolchain "$(cat rust-toolchain)"
|
| sh -s -- -y --default-toolchain nightly
|
||||||
```
|
```
|
||||||
|
|
||||||
### Load cargo environment (or optionally reboot)
|
### Load cargo environment (or optionally reboot)
|
||||||
@@ -36,6 +36,11 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
|
|||||||
source ~/.cargo/env
|
source ~/.cargo/env
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Ensure rust source is installed for current toolchain
|
||||||
|
```
|
||||||
|
rustup component add --toolchain "$(cat rust-toolchain)" rust-src
|
||||||
|
```
|
||||||
|
|
||||||
### Install cargo-xbuild
|
### Install cargo-xbuild
|
||||||
```
|
```
|
||||||
cargo install cargo-xbuild
|
cargo install cargo-xbuild
|
||||||
|
@@ -28,7 +28,7 @@ git lfs pull
|
|||||||
### Install rust
|
### Install rust
|
||||||
```
|
```
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
|
||||||
| sh -s -- -y --default-toolchain "$(cat rust-toolchain)"
|
| sh -s -- -y --default-toolchain nightly
|
||||||
```
|
```
|
||||||
|
|
||||||
### Load cargo environment (or optionally reboot)
|
### Load cargo environment (or optionally reboot)
|
||||||
@@ -36,6 +36,11 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
|
|||||||
source ~/.cargo/env
|
source ~/.cargo/env
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Ensure rust source is installed for current toolchain
|
||||||
|
```
|
||||||
|
rustup component add --toolchain "$(cat rust-toolchain)" rust-src
|
||||||
|
```
|
||||||
|
|
||||||
### Install cargo-xbuild
|
### Install cargo-xbuild
|
||||||
```
|
```
|
||||||
cargo install cargo-xbuild
|
cargo install cargo-xbuild
|
||||||
|
Reference in New Issue
Block a user