summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-12-04 01:55:42 +0900
committerYuki Okushi <huyuumi.dev@gmail.com>2020-12-04 01:55:42 +0900
commit7a76e6157321d6e8419c515d58e5b06e1406da57 (patch)
tree6d2d475138e32d2bf0939a41f438c6f28cdea371
parent8e62c982741710861007ca711e3f2a0e0ea43908 (diff)
downloadrust-libc-7a76e6157321d6e8419c515d58e5b06e1406da57.tar.gz
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