diff --git a/podman/scripts/install_rust.sh b/podman/scripts/install_rust.sh index 6a30f7c0..977fad28 100755 --- a/podman/scripts/install_rust.sh +++ b/podman/scripts/install_rust.sh @@ -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 \ No newline at end of file