mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +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: |
|
- bash: |
|
||||||
set -e
|
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
|
if [ "$IMAGE" = "" ]; then
|
||||||
src/ci/run.sh
|
src/ci/run.sh
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user