Skip to content

Commit

Permalink
Change clippy args to work around ICE bug
Browse files Browse the repository at this point in the history
  • Loading branch information
anelson committed Apr 3, 2019
1 parent 275df12 commit 8651e6b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@ jobs:
displayName: Cargo build
- script: cargo test --all -vv
displayName: Cargo test
- script: rustup component add clippy && cargo clippy --all-targets --all-features -- -D warnings

# NB: Currently running with `--all-targets` causes a ICE due to this issue:
# https://github.com/rust-lang/rust-clippy/issues/3741
#
# Once it's fixed, put back `--all-targets` because otherwise clippy isn't running against tests
- script: rustup component add clippy && cargo clippy --all-features -- -D warnings
displayName: Run Clippy linter on Rust code (only on Linux with Rust stable)
condition: and( eq( variables['Agent.OS'], 'Linux' ), eq( variables['rustup_toolchain'], 'stable' ) )

0 comments on commit 8651e6b

Please sign in to comment.