Skip to content

Commit

Permalink
v1.18: 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 anza-xyz#1209) (anza-xyz#1215)

ci: don't self-update rustup when using the rust-version script (anza-xyz#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 committed May 14, 2024
1 parent 09d2eaf commit dfdb234
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 dfdb234

Please # to comment.