We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
check-cfg
fuzz
1 parent 86308e1 commit 8cee3bbCopy full SHA for 8cee3bb
fuzz/Cargo.toml
@@ -49,3 +49,13 @@ opt-level = 1
49
name = "lightning_fuzz"
50
path = "src/lib.rs"
51
crate-type = ["rlib", "dylib", "staticlib"]
52
+
53
+[lints.rust.unexpected_cfgs]
54
+level = "forbid"
55
+# When adding a new cfg attribute, ensure that it is added to this list.
56
+check-cfg = [
57
+ "cfg(fuzzing)",
58
+ "cfg(secp256k1_fuzz)",
59
+ "cfg(hashes_fuzz)",
60
+ "cfg(taproot)",
61
+]
0 commit comments