infra: CI use minimal profile
@@ -43,7 +43,7 @@ steps:
export CARGO_HOME=$HOME/.cargo
echo ##vso[task.setvariable variable=RUSTUP_HOME]$HOME/.rustup
echo ##vso[task.setvariable variable=CARGO_HOME]$HOME/.cargo
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUSTUP_TOOLCHAIN
+ curl https://sh.rustup.rs -sSf | sh -s -- -y --profile=minimal --default-toolchain $RUSTUP_TOOLCHAIN
echo "##vso[task.prependpath]$HOME/.cargo/bin"
condition: ne( variables['Agent.OS'], 'Windows_NT' )
displayName: Install Rust on linux/mac
@@ -53,7 +53,7 @@ steps:
echo ##vso[task.setvariable variable=RUSTUP_HOME]%USERPROFILE%\.rustup
echo ##vso[task.setvariable variable=CARGO_HOME]%USERPROFILE%\.cargo
curl -sSf -o rustup-init.exe https://win.rustup.rs
- rustup-init.exe -y --default-toolchain %RUSTUP_TOOLCHAIN%
+ rustup-init.exe -y --profile=minimal --default-toolchain %RUSTUP_TOOLCHAIN%
echo ##vso[task.setvariable variable=PATH]%PATH%;%USERPROFILE%\.cargo\bin
condition: eq( variables['Agent.OS'], 'Windows_NT' )
displayName: Install Rust on windows
