From 050091385fe609e886b15deb5d23255de2260beb Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Fri, 31 Jul 2026 14:34:16 +0100 Subject: [PATCH] ci: Check clippy on all packages in workspace --- .github/workflows/ci.yml | 2 +- crates/stdext/src/arena/scratch.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c84869c346b..c860ebe3a63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,4 +45,4 @@ jobs: - name: Run tests run: cargo test --all-features --all-targets - name: Run clippy - run: cargo clippy --all-features --all-targets -- --no-deps --deny warnings + run: cargo clippy --workspace --all-features --all-targets -- --no-deps --deny warnings diff --git a/crates/stdext/src/arena/scratch.rs b/crates/stdext/src/arena/scratch.rs index 18fd129b513..57645bee9ef 100644 --- a/crates/stdext/src/arena/scratch.rs +++ b/crates/stdext/src/arena/scratch.rs @@ -134,6 +134,7 @@ mod multi_threaded { static INIT_SIZE: AtomicUsize = AtomicUsize::new(128 * MEBI); /// Sets the default scratch arena size. + #[allow(dead_code)] pub fn init(capacity: usize) -> io::Result<()> { if capacity != 0 { INIT_SIZE.store(capacity, Ordering::Relaxed);