diff options
author | Yuki Okushi <jtitor@2k36.org> | 2021-05-23 20:05:35 +0900 |
---|---|---|
committer | Yuki Okushi <jtitor@2k36.org> | 2021-05-23 20:05:35 +0900 |
commit | 0878242ed975b80f6fd04d0e8ed15c0851d0781c (patch) | |
tree | 5c692214e0c5e397f26abc349371a469854d5c64 /ci | |
parent | f55661ea51997528f69098b3128efdb86944ff70 (diff) | |
download | rust-libc-0878242ed975b80f6fd04d0e8ed15c0851d0781c.tar.gz |
Attempt to fix the Rustup issue on Windows
Diffstat (limited to 'ci')
-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 |