From f51f876c8fc6d0f89b1262c3aad6046a8d1f2d31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Mon, 30 Dec 2024 17:52:54 +0400 Subject: [PATCH] ci: check "helper" feature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It would be nice to use --all-features, unfortunately, this is not compatible with ironrdp-tls backend selection. Signed-off-by: Marc-André Lureau --- xtask/src/check.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xtask/src/check.rs b/xtask/src/check.rs index 27700825f..0efce96d6 100644 --- a/xtask/src/check.rs +++ b/xtask/src/check.rs @@ -18,7 +18,11 @@ pub fn lints(sh: &Shell) -> anyhow::Result<()> { let _s = Section::new("LINTS"); // TODO: when 1.74 is released use `--keep-going`: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#keep-going - cmd!(sh, "{CARGO} clippy --workspace --all-targets --locked -- -D warnings").run()?; + cmd!( + sh, + "{CARGO} clippy --workspace --all-targets --features helper --locked -- -D warnings" + ) + .run()?; println!("All good!");