diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2019-06-05 07:36:19 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2019-06-05 08:32:40 -0700 |
| commit | fb3bd58e4f75c6752d0e2d32a04270044515c00d (patch) | |
| tree | 75a056fe93837555a15ac67e80293efe5216e0a2 | |
| parent | 0b88e5a87e4b20810d1b2a2964cbacd4a58e64b6 (diff) | |
| download | rust-fb3bd58e4f75c6752d0e2d32a04270044515c00d.tar.gz rust-fb3bd58e4f75c6752d0e2d32a04270044515c00d.zip | |
azure: Uninstall previous rustc from builders if any
Looks like Azure has updated images recently to install Rust by default, but that can interfere with our own compiler (for example Cargo's test suite we think) so be sure to uninstall it before proceeding.
| -rw-r--r-- | .azure-pipelines/steps/run.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.azure-pipelines/steps/run.yml b/.azure-pipelines/steps/run.yml index 05b14eb45b2..a646b34fe7d 100644 --- a/.azure-pipelines/steps/run.yml +++ b/.azure-pipelines/steps/run.yml @@ -102,6 +102,10 @@ steps: - bash: | set -e + # Remove any preexisting rustup installation since it can interfere + # with the cargotest step and its auto-detection of things like Clippy in + # the environment + rustup self uninstall -y || true if [ "$IMAGE" = "" ]; then src/ci/run.sh else |
