Rejigger order of rustup flags.
@@ -32,7 +32,7 @@ jobs:
fetchDepth: 5
- script: |
set -e
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain beta-x86_64-unknown-linux-gnu
+ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain beta-x86_64-unknown-linux-gnu -y
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
displayName: 'Install Rust'
- script: RUST_VERSION=beta make unit_test
@@ -52,7 +52,7 @@ jobs:
fetchDepth: 5
- script: |
set -e
- curl https://sh.rustup.rs -sSf | sh -s -- -y nightly-x86_64-unknown-linux-gnu
+ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-x86_64-unknown-linux-gnu -y
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
displayName: 'Install Rust'
- script: RUST_VERSION=nightly make unit_test
