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