Try default-host for OSX rustup install as well.
@@ -153,7 +153,7 @@ jobs:
fetchDepth: 5
- script: |
set -e
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
+ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --default-host x86_64-apple-darwin
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
displayName: 'Install Rust'
- script: rustc --version
@@ -173,7 +173,7 @@ jobs:
fetchDepth: 5
- script: |
set -e
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
+ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --default-host x86_64-apple-darwin
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
displayName: 'Install Rust'
- script: rustc --version
@@ -191,7 +191,7 @@ jobs:
fetchDepth: 5
- script: |
set -e
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain beta
+ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain beta --default-host x86_64-apple-darwin
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
displayName: 'Install Rust'
- script: rustc --version
@@ -211,7 +211,7 @@ jobs:
fetchDepth: 5
- script: |
set -e
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain beta
+ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain beta --default-host x86_64-apple-darwin
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
displayName: 'Install Rust'
- script: rustc --version
@@ -229,7 +229,7 @@ jobs:
fetchDepth: 5
- script: |
set -e
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
+ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly --default-host x86_64-apple-darwin
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
displayName: 'Install Rust'
- script: rustc --version
@@ -251,7 +251,7 @@ jobs:
fetchDepth: 5
- script: |
set -e
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
+ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly --default-host x86_64-apple-darwin
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
displayName: 'Install Rust'
- script: rustc --version
@@ -270,7 +270,7 @@ jobs:
fetchDepth: 5
- script: |
set -e
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
+ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --default-host x86_64-apple-darwin
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
displayName: 'Install Rust'
- script: rustc --version
