summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-05-23 11:16:39 +0000
committerbors <bors@rust-lang.org>2021-05-23 11:16:39 +0000
commit335b919725de8da9b6a71394acde60af8be8ff74 (patch)
tree5c692214e0c5e397f26abc349371a469854d5c64
parentf55661ea51997528f69098b3128efdb86944ff70 (diff)
parent0878242ed975b80f6fd04d0e8ed15c0851d0781c (diff)
downloadrust-libc-335b919725de8da9b6a71394acde60af8be8ff74.tar.gz
Auto merge of #2193 - JohnTitor:fix-rustup-on-windows, r=JohnTitor
Attempt to fix the Rustup issue on Windows r? `@ghost`
-rw-r--r--ci/install-rust.sh4
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