Skip to content

Commit 3e1bfb0

Browse files
committed
Use --all-targets for clippy checks
1 parent 5f51536 commit 3e1bfb0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

xtask/src/main.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,8 @@ fn cmd_clippy(strict: bool) -> Result<()> {
5757

5858
let mut failed = false;
5959

60-
// Everything in the workspace
61-
failed |= run_clippy(&["--workspace"])?;
62-
63-
// And try with tests too
64-
failed |= run_clippy(&["--workspace", "--tests"])?;
60+
// Everything in the workspace (including tests, etc)
61+
failed |= run_clippy(&["--workspace", "--all-targets"])?;
6562

6663
// Check the Falcon bits
6764
failed |= run_clippy(&["-p", "propolis-server", "--features", "falcon"])?;

0 commit comments

Comments
 (0)