Skip to content

Commit 0cad6cf

Browse files
authored
Don't deny(warnings) outside of CI (#2424)
This allows the tests to continue compiling in new Rust versions, even if new warnings are added. Fixes #2423.
1 parent 1939f92 commit 0cad6cf

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ permissions:
1414

1515
env:
1616
MSRV: 1.69.0
17+
RUSTFLAGS: -Dwarnings
1718

1819
jobs:
1920
macos:

src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
#![crate_name = "nix"]
4444
#![cfg(unix)]
4545
#![allow(non_camel_case_types)]
46-
#![cfg_attr(test, deny(warnings))]
4746
#![recursion_limit = "500"]
4847
#![deny(unused)]
4948
#![allow(unused_macros)]

0 commit comments

Comments
 (0)