mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
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.
This commit is contained in:
parent
0b88e5a87e
commit
fb3bd58e4f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user