Skip to content
Permalink
Browse files

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.
  • Loading branch information...
alexcrichton committed Jun 5, 2019
1 parent 0b88e5a commit fb3bd58e4f75c6752d0e2d32a04270044515c00d
Showing with 4 additions and 0 deletions.
  1. +4 −0 .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

0 comments on commit fb3bd58

Please sign in to comment.
You can’t perform that action at this time.