diff options
-rw-r--r-- | ci/install-rust.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/install-rust.sh b/ci/install-rust.sh index b06ba8eddb..377f0d0cf0 100644 --- a/ci/install-rust.sh +++ b/ci/install-rust.sh @@ -12,9 +12,9 @@ else fi if [ "$OS" = "windows" ]; then : "${TARGET?The TARGET environment variable must be set.}" + rustup self update rustup set profile minimal - # FIXME: Add `--no-self-update` to avoid CI failure. - rustup update --force $toolchain-"$TARGET" --no-self-update + rustup update --force $toolchain-"$TARGET" rustup default $toolchain-"$TARGET" else rustup set profile minimal |