Use specific Rust version

This commit is contained in:
Jaby 2025-01-07 22:25:40 +01:00
parent 7759a15c9e
commit 9dab245122
1 changed files with 3 additions and 3 deletions

View File

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