Skip to content

Commit

Permalink
deps: install rustup version as specified in agave submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
anwayde authored and mmcgee-jump committed Nov 18, 2024
1 parent 4f66f08 commit a786f70
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,11 @@ check () {
echo "[+] Installing rustup"
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
rustup toolchain add 1.75.0
rust_toolchain=$(grep "channel" agave/rust-toolchain.toml | awk '{print $NF}' | tr -d '"')
if [[ ! $(rustup toolchain list | grep $rust_toolchain) ]]; then
echo "[+] Updating rustup toolchain"
rustup toolchain add $rust_toolchain
fi
;;
*)
echo "[-] Skipping rustup install"
Expand Down

0 comments on commit a786f70

Please sign in to comment.