Skip to content

Commit

Permalink
ci: don't self-update rustup when using the rust-version script (sola…
Browse files Browse the repository at this point in the history
…na-labs#1209)

* ci: don't update rustup when using the rust-version script

* XXX: fake updates for triggering all

* Revert "XXX: fake updates for triggering all"

This reverts commit b343e61.
  • Loading branch information
yihau authored and CriesofCarrots committed May 7, 2024
1 parent 17cb2e0 commit 7aac03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/rust-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export ci_docker_image="anzaxyz/ci:rust_${rust_stable}_${rust_nightly}"
declare toolchain=$1
if ! cargo +"$toolchain" -V > /dev/null; then
echo "$0: Missing toolchain? Installing...: $toolchain" >&2
rustup install "$toolchain"
rustup install "$toolchain" --no-self-update
cargo +"$toolchain" -V
fi
}
Expand Down

0 comments on commit 7aac03f

Please sign in to comment.