Skip to content

Commit 1101121

Browse files
committed
also allow unnecessary_clippy_cfg in Cargo.toml
This doesn't remove the `-A` parameter in the CI workflow, that's still needed to override the blanket `-D clippy::all`. But it fixes the false positive from normal `cargo clippy` invocations.
1 parent 756bbdd commit 1101121

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

signal-hook-registry/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ libc = "^0.2"
2323

2424
[dev-dependencies]
2525
signal-hook = { version = "~0.3", path = ".." }
26+
27+
[lints.clippy]
28+
# actually necessary because Rust 1.26 doesn't support allow(clippy::foo) syntax
29+
unnecessary_clippy_cfg = "allow"
30+

0 commit comments

Comments
 (0)