diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 399b116dcedec391eec972a8efd4202c2ecb9670..77921cc236372e782f8565d3346cb8e0b3cc18d9 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 -A unknown-lints + run: cargo clippy -- -D warnings - 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 -A unknown-lints + run: cargo clippy -- -D warnings - 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 56a8f2aa890e62f916b7e29224942fdc9eda76f1..80e2b961b11858f1add31915ca6abd0280b844f6 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 -A unknown-lints; fi + - if [[ $RUST_VERSION != nightly ]]; then cargo clippy -- -D warnings; fi - cargo build - cargo build --release diff --git a/frontends/sdl/src/main.rs b/frontends/sdl/src/main.rs index be42fef2e26ed10969eb34fa775b09f65fcf6368..f669630d46e41a5f07766bf4413fec572febebf3 100644 --- a/frontends/sdl/src/main.rs +++ b/frontends/sdl/src/main.rs @@ -1,4 +1,4 @@ -#![allow(clippy::uninlined_format_args)] +#![allow(clippy::uninlined_format_args, unknown_lints)] pub mod data; pub mod util; diff --git a/src/lib.rs b/src/lib.rs index fbcf0572db10053930ca0f5d135b533d8569a007..24a551ab1f983ed2cad24535e33a096915d36f4d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -#![allow(clippy::uninlined_format_args)] +#![allow(clippy::uninlined_format_args, unknown_lints)] pub mod cpu; pub mod data;