From 9dab24512248aa0c778a145b2fdfb9074266b0e7 Mon Sep 17 00:00:00 2001 From: Jaby Date: Tue, 7 Jan 2025 22:25:40 +0100 Subject: [PATCH] Use specific Rust version --- podman/scripts/install_rust.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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