From 516f4baa668db231457a7add321174d009b7c06f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Mon, 22 Dec 2025 14:57:22 +0300 Subject: [PATCH 1/6] Re-introduce Clippy warning in tests --- ctutils/src/choice.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctutils/src/choice.rs b/ctutils/src/choice.rs index bb9587d1..8df61a14 100644 --- a/ctutils/src/choice.rs +++ b/ctutils/src/choice.rs @@ -360,7 +360,7 @@ mod tests { #[test] fn to_bool() { - assert!(!Choice::new(0).to_bool()); + assert_eq!(Choice::new(0).to_bool(), false); assert!(Choice::new(1).to_bool()); } From b64dd17da37aff19f3a089324204c4cad4c33f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Mon, 22 Dec 2025 14:58:44 +0300 Subject: [PATCH 2/6] tweak Clippy cmd --- .github/workflows/workspace.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index 1c22e4ac..8babf029 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -27,7 +27,7 @@ jobs: with: toolchain: 1.92.0 # Pinned to prevent breakages components: clippy - - run: cargo clippy --all --all-features --exclude aarch64-dit -- -D warnings + - run: cargo clippy --all --all-targets --all-features -- -D warnings rustfmt: runs-on: ubuntu-latest From 324d2f7692854b0ddfad58e9142bc7e6204d2dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Mon, 22 Dec 2025 15:03:52 +0300 Subject: [PATCH 3/6] fix warning --- ctutils/src/choice.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctutils/src/choice.rs b/ctutils/src/choice.rs index 8df61a14..bb9587d1 100644 --- a/ctutils/src/choice.rs +++ b/ctutils/src/choice.rs @@ -360,7 +360,7 @@ mod tests { #[test] fn to_bool() { - assert_eq!(Choice::new(0).to_bool(), false); + assert!(!Choice::new(0).to_bool()); assert!(Choice::new(1).to_bool()); } From a391ca87cd044e7e86edb021f31ddf36d52801f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Mon, 22 Dec 2025 15:10:30 +0300 Subject: [PATCH 4/6] Add dummy bench --- blobby/benches/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 blobby/benches/mod.rs diff --git a/blobby/benches/mod.rs b/blobby/benches/mod.rs new file mode 100644 index 00000000..e6c0722a --- /dev/null +++ b/blobby/benches/mod.rs @@ -0,0 +1,4 @@ +#![feature(test)] +extern crate test; + + From 46e92fcfe28298cc6659be48c09d07445611b2ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Mon, 22 Dec 2025 15:13:48 +0300 Subject: [PATCH 5/6] use `--lib --bins --tests` instead of `--all-targets` --- .github/workflows/workspace.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index 8babf029..ef635670 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -27,7 +27,7 @@ jobs: with: toolchain: 1.92.0 # Pinned to prevent breakages components: clippy - - run: cargo clippy --all --all-targets --all-features -- -D warnings + - run: cargo clippy --workspace --all-features --lib --bins --tests -- -D warnings rustfmt: runs-on: ubuntu-latest From 86e881d691eef6f91ea84c6136f9548c902ba0dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Mon, 22 Dec 2025 15:15:01 +0300 Subject: [PATCH 6/6] remove dummy bench --- blobby/benches/mod.rs | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 blobby/benches/mod.rs diff --git a/blobby/benches/mod.rs b/blobby/benches/mod.rs deleted file mode 100644 index e6c0722a..00000000 --- a/blobby/benches/mod.rs +++ /dev/null @@ -1,4 +0,0 @@ -#![feature(test)] -extern crate test; - -