diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02112713fa..31bc4db393 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,7 @@ permissions: env: MSRV: 1.69.0 + RUSTFLAGS: -Dwarnings jobs: macos: diff --git a/src/lib.rs b/src/lib.rs index 476ea241a2..eb6d2f5f3e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -43,7 +43,6 @@ #![crate_name = "nix"] #![cfg(unix)] #![allow(non_camel_case_types)] -#![cfg_attr(test, deny(warnings))] #![recursion_limit = "500"] #![deny(unused)] #![allow(unused_macros)]