diff --git a/azure/install-rust.yml b/azure/install-rust.yml index c775fd4..a23d9d2 100644 --- a/azure/install-rust.yml +++ b/azure/install-rust.yml @@ -8,7 +8,7 @@ steps: # Linux and macOS. - script: | set -e - 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.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin" env: RUSTUP_TOOLCHAIN: ${{parameters.rust}} @@ -18,7 +18,7 @@ steps: # Windows. - script: | 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% set PATH=%PATH%;%USERPROFILE%\.cargo\bin echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin" env: