Update instructions

This commit is contained in:
Jeremy Soller
2019-09-01 15:43:28 -06:00
parent a833a41f96
commit 757df21e97
2 changed files with 12 additions and 2 deletions

View File

@@ -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

View File

@@ -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