mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-22 22:36:36 +01:00
Merge pull request #3555 from tnull/2025-01-add-fuzz-cfg-lints
Add `check-cfg` lint to `fuzz` to quiet warnings
This commit is contained in:
commit
bd85a29fe3
1 changed files with 10 additions and 0 deletions
|
@ -49,3 +49,13 @@ opt-level = 1
|
|||
name = "lightning_fuzz"
|
||||
path = "src/lib.rs"
|
||||
crate-type = ["rlib", "dylib", "staticlib"]
|
||||
|
||||
[lints.rust.unexpected_cfgs]
|
||||
level = "forbid"
|
||||
# When adding a new cfg attribute, ensure that it is added to this list.
|
||||
check-cfg = [
|
||||
"cfg(fuzzing)",
|
||||
"cfg(secp256k1_fuzz)",
|
||||
"cfg(hashes_fuzz)",
|
||||
"cfg(taproot)",
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue