Skip to content

Commit 5b658ab

Browse files
committed
dont download std-docs on CI
1 parent 6a7f505 commit 5b658ab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ci/azure-install-rust.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ steps:
44
if command -v rustup; then
55
echo `command -v rustup` `rustup -V` already installed
66
rustup self update
7+
rustup set profile minimal
78
elif [ "$AGENT_OS" = "Windows_NT" ]; then
89
curl -sSf -o rustup-init.exe https://win.rustup.rs
9-
rustup-init.exe -y --default-toolchain $TOOLCHAIN
10+
rustup-init.exe -y --default-toolchain $TOOLCHAIN --profile=minimal
1011
echo "##vso[task.prependpath]$USERPROFILE/.cargo/bin"
1112
else
12-
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $TOOLCHAIN
13+
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $TOOLCHAIN --profile=minimal
1314
echo "##vso[task.prependpath]$HOME/.cargo/bin"
1415
fi
1516
displayName: Install rustup

0 commit comments

Comments
 (0)