Skip to content

Commit

Permalink
v1.17: ci: don't self-update rustup when using the rust-version scrip…
Browse files Browse the repository at this point in the history
…t (backport of #1209) (#1214)

ci: don't self-update rustup when using the rust-version script (#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.

(cherry picked from commit 206a87a)

Co-authored-by: Yihau Chen <yihau.chen@icloud.com>
  • Loading branch information
mergify[bot] and yihau authored May 11, 2024
1 parent bab680b commit 254eccd
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 rust_nightly_docker_image=solanalabs/rust-nightly:"$nightly_version"
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 254eccd

Please sign in to comment.