summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-12-03 17:01:02 +0000
committerbors <bors@rust-lang.org>2020-12-03 17:01:02 +0000
commitd7149f099486df1bd4765954527902c1b9f1f065 (patch)
tree6d2d475138e32d2bf0939a41f438c6f28cdea371
parent8e62c982741710861007ca711e3f2a0e0ea43908 (diff)
parent7a76e6157321d6e8419c515d58e5b06e1406da57 (diff)
downloadrust-libc-d7149f099486df1bd4765954527902c1b9f1f065.tar.gz
Auto merge of #1986 - JohnTitor:fix-windows-ci, r=JohnTitor
Avoid rustup self-updates on Windows GHA
-rw-r--r--ci/install-rust.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/install-rust.sh b/ci/install-rust.sh
index dcd24b88ef..b06ba8eddb 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