build: run clippy with --all-features (#18115)

This commit is contained in:
Bartek Iwańczuk 2023-03-10 08:07:28 -04:00 committed by GitHub
parent a7a804919d
commit 215528f499
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 20 deletions

View file

@ -135,7 +135,7 @@ async function clippy() {
console.log("clippy");
const currentBuildMode = buildMode();
const cmd = ["clippy", "--all-targets", "--locked"];
const cmd = ["clippy", "--all-targets", "--all-features", "--locked"];
if (currentBuildMode != "debug") {
cmd.push("--release");