From 757df21e97213d4bc1688ff6ed227e5e23b47453 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sun, 1 Sep 2019 15:43:28 -0600 Subject: [PATCH] Update instructions --- README.md | 7 ++++++- README.md.in | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 299b63f..4447abf 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ git lfs pull ### Install rust ``` 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) @@ -36,6 +36,11 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \ source ~/.cargo/env ``` +### Ensure rust source is installed for current toolchain +``` +rustup component add --toolchain "$(cat rust-toolchain)" rust-src +``` + ### Install cargo-xbuild ``` cargo install cargo-xbuild diff --git a/README.md.in b/README.md.in index f13f9c7..5beb29a 100644 --- a/README.md.in +++ b/README.md.in @@ -28,7 +28,7 @@ git lfs pull ### Install rust ``` 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) @@ -36,6 +36,11 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \ source ~/.cargo/env ``` +### Ensure rust source is installed for current toolchain +``` +rustup component add --toolchain "$(cat rust-toolchain)" rust-src +``` + ### Install cargo-xbuild ``` cargo install cargo-xbuild