mirror of https://github.com/rust-lang/cargo
Use azure condition for rust-src.
This commit is contained in:
parent
0b051c757f
commit
3e82792c4f
|
@ -17,10 +17,8 @@ steps:
|
|||
displayName: "Install clippy (maybe)"
|
||||
|
||||
# This is needed for standard library tests.
|
||||
- bash: |
|
||||
if [ "$TOOLCHAIN" = "nightly" ]; then
|
||||
rustup component add rust-src
|
||||
fi
|
||||
- bash: rustup component add rust-src
|
||||
condition: and(succeeded(), eq(variables['TOOLCHAIN'], 'nightly'))
|
||||
displayName: "Install rust-src (maybe)"
|
||||
|
||||
# Deny warnings on CI to avoid warnings getting into the codebase, and note the
|
||||
|
|
Loading…
Reference in New Issue