From c63427223e455d5b79e7ffebf998c420984bab99 Mon Sep 17 00:00:00 2001 From: Nico Burns Date: Wed, 22 May 2024 12:36:20 +0100 Subject: [PATCH] Ignore examples when checking with libm feature --- .github/workflows/ci.yml | 2 +- examples/tiny_skia_render/Cargo.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f5ecefe..08e9b66d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,7 +104,7 @@ jobs: # TODO: Add --target x86_64-unknown-none to the no_std check once we solve the compilation issues with it - name: cargo clippy (no_std) - run: cargo hack clippy --workspace --locked --optional-deps --each-feature --features libm --exclude-features ${{ env.FEATURES_DEPENDING_ON_STD }} -- -D warnings + run: cargo hack clippy --workspace --ignore-private --locked --optional-deps --each-feature --features libm --exclude-features ${{ env.FEATURES_DEPENDING_ON_STD }} -- -D warnings - name: cargo clippy run: cargo hack clippy --workspace --locked --optional-deps --each-feature --features std -- -D warnings diff --git a/examples/tiny_skia_render/Cargo.toml b/examples/tiny_skia_render/Cargo.toml index 181e97ab..5e197e94 100644 --- a/examples/tiny_skia_render/Cargo.toml +++ b/examples/tiny_skia_render/Cargo.toml @@ -5,6 +5,7 @@ edition.workspace = true rust-version.workspace = true license.workspace = true repository.workspace = true +private = true [dependencies] parley = { path = "../.." }