summaryrefslogtreecommitdiff
path: root/libc/ci/azure-install-rust.yml
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-11-01 07:42:33 -0700
committerDaniel Mueller <deso@posteo.net>2019-11-01 07:42:33 -0700
commit49be10a8179165d24bbb8eb3490c4ca6f94b42c4 (patch)
tree642978648e57ba8b162a7378e8754df85ca83b37 /libc/ci/azure-install-rust.yml
parent9f3991a74fa5124e298582afa60b229dd005be40 (diff)
downloadnitrocli-49be10a8179165d24bbb8eb3490c4ca6f94b42c4.tar.gz
nitrocli-49be10a8179165d24bbb8eb3490c4ca6f94b42c4.tar.bz2
Update libc crate to 0.2.66
This change updates the libc crate to version 0.2.66. Import subrepo libc/:libc at 4f11029a68040c90acf771976b019c1ef273a8cd
Diffstat (limited to 'libc/ci/azure-install-rust.yml')
-rw-r--r--libc/ci/azure-install-rust.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/libc/ci/azure-install-rust.yml b/libc/ci/azure-install-rust.yml
index eba0669..31b0714 100644
--- a/libc/ci/azure-install-rust.yml
+++ b/libc/ci/azure-install-rust.yml
@@ -6,10 +6,12 @@ steps:
toolchain=nightly
fi
if command -v rustup; then
- rustup update $toolchain
+ # Uncomment when rustup on Azure is updated
+ #rustup set profile minimal
+ rustup update --force $toolchain
rustup default $toolchain
else
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $toolchain
+ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $toolchain --profile=minimal
echo "##vso[task.prependpath]$HOME/.cargo/bin"
fi
displayName: Install rust (unix)
@@ -17,7 +19,9 @@ steps:
- script: |
@echo on
if not defined TOOLCHAIN set TOOLCHAIN=nightly
- rustup update %TOOLCHAIN%-%TARGET%
+ :: Uncomment when rustup on Azure is updated
+ ::rustup set profile minimal
+ rustup update --no-self-update %TOOLCHAIN%-%TARGET%
rustup default %TOOLCHAIN%-%TARGET%
displayName: Install rust (windows)
condition: eq( variables['Agent.OS'], 'Windows_NT' )