diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 77921cc236372e782f8565d3346cb8e0b3cc18d9..399b116dcedec391eec972a8efd4202c2ecb9670 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ jobs: - name: Verify Rust code format run: cargo fmt --all -- --check - name: Verify Rust code linting - run: cargo clippy -- -D warnings + run: cargo clippy -- -D warnings -A unknown-lints - name: Build development version run: cargo build - name: Build release version @@ -70,7 +70,7 @@ jobs: - name: Verify Rust code format run: cargo fmt --all -- --check - name: Verify Rust code linting - run: cargo clippy -- -D warnings + run: cargo clippy -- -D warnings -A unknown-lints - name: Install wasm-pack run: cargo install wasm-pack - name: Build WASM Web binary diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 80e2b961b11858f1add31915ca6abd0280b844f6..56a8f2aa890e62f916b7e29224942fdc9eda76f1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,7 +34,7 @@ build-rust: - rustup component add clippy - rustc --version - cargo fmt --all -- --check - - if [[ $RUST_VERSION != nightly ]]; then cargo clippy -- -D warnings; fi + - if [[ $RUST_VERSION != nightly ]]; then cargo clippy -- -D warnings -A unknown-lints; fi - cargo build - cargo build --release diff --git a/frontends/sdl/src/main.rs b/frontends/sdl/src/main.rs index f669630d46e41a5f07766bf4413fec572febebf3..be42fef2e26ed10969eb34fa775b09f65fcf6368 100644 --- a/frontends/sdl/src/main.rs +++ b/frontends/sdl/src/main.rs @@ -1,4 +1,4 @@ -#![allow(clippy::uninlined_format_args, unknown_lints)] +#![allow(clippy::uninlined_format_args)] pub mod data; pub mod util; diff --git a/src/lib.rs b/src/lib.rs index 24a551ab1f983ed2cad24535e33a096915d36f4d..fbcf0572db10053930ca0f5d135b533d8569a007 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -#![allow(clippy::uninlined_format_args, unknown_lints)] +#![allow(clippy::uninlined_format_args)] pub mod cpu; pub mod data;