Convert toolchain file to TOML syntax
rustup 1.23.0 (2020-11-27) introduced support for TOML syntax for the toolchain file. Use this and specify required compoenents. To ensure you are using a new enough rustup, run: rustup self update
This commit is contained in:
parent
50eedc20d2
commit
7d6a15e63c
@ -1 +1,3 @@
|
|||||||
nightly-2020-07-27
|
[toolchain]
|
||||||
|
channel = "nightly-2020-07-27"
|
||||||
|
components = ["rust-src"]
|
||||||
|
@ -89,11 +89,8 @@ if ! which rustup &> /dev/null; then
|
|||||||
source "${HOME}/.cargo/env"
|
source "${HOME}/.cargo/env"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg "Installing pinned Rust toolchain"
|
msg "Installing pinned Rust toolchain and components"
|
||||||
rustup toolchain install "$(cat rust-toolchain)"
|
rustup show
|
||||||
|
|
||||||
msg "Installing source for pinned Rust toolchain"
|
|
||||||
rustup component add --toolchain "$(cat rust-toolchain)" rust-src
|
|
||||||
|
|
||||||
msg "\x1B[32mSuccessfully installed dependencies"
|
msg "\x1B[32mSuccessfully installed dependencies"
|
||||||
echo "Ready to run ./scripts/build.sh [model]" >&2
|
echo "Ready to run ./scripts/build.sh [model]" >&2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user