diff --git a/ci/install-rust.sh b/ci/install-rust.sh index dcd24b88ef7b7..b06ba8eddb105 100644 --- a/ci/install-rust.sh +++ b/ci/install-rust.sh @@ -13,7 +13,8 @@ fi if [ "$OS" = "windows" ]; then : "${TARGET?The TARGET environment variable must be set.}" rustup set profile minimal - rustup update --force $toolchain-"$TARGET" + # FIXME: Add `--no-self-update` to avoid CI failure. + rustup update --force $toolchain-"$TARGET" --no-self-update rustup default $toolchain-"$TARGET" else rustup set profile minimal