Use specific Rust version
This commit is contained in:
parent
a033a0f8db
commit
5dec7a3c51
|
@ -2,8 +2,8 @@
|
||||||
echo "<<< Install Rust prerequisites >>>"
|
echo "<<< Install Rust prerequisites >>>"
|
||||||
apt install -y curl
|
apt install -y curl
|
||||||
|
|
||||||
# TODO: Specific version??
|
RUST_VERSION=1.78.0
|
||||||
echo "<<< Install Rust >>>"
|
echo "<<< Install Rust $RUST_VERSION >>>"
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain=$RUST_VERSION -y
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
cargo install cargo-edit --locked
|
cargo install cargo-edit --locked
|
Loading…
Reference in New Issue