Skip to content

Commit

Permalink
Re-enable clippy on all targets and features.
Browse files Browse the repository at this point in the history
Now that rust-lang/rust-clippy#3741 has been
fixed this should work.
  • Loading branch information
anelson committed Nov 20, 2019
1 parent bfe0762 commit 064b86c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,7 @@ jobs:
condition: eq( variables['Agent.OS'], 'Windows_NT' )
continueOnError: ne( variables['rustup_toolchain', 'stable'])
# 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 --all-features` because otherwise clippy isn't running against tests
- script: rustup component add clippy && cargo clippy -- -D warnings
- script: rustup component add clippy && cargo clippy --all-targets --all-features -- -D warnings
displayName: Run Clippy linter on Rust code (only on Rust stable)
condition: eq( variables['rustup_toolchain'], 'stable' )

0 comments on commit 064b86c

Please sign in to comment.