Skip to content

Commit 5b9b607

Browse files
authored
Merge pull request #335 from tnull/2024-07-account-for-check-cfg
Account for `check-cfg`
2 parents 77a0bbe + 5733b58 commit 5b9b607

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,13 @@ panic = "abort"
102102

103103
[profile.dev]
104104
panic = "abort"
105+
106+
[lints.rust.unexpected_cfgs]
107+
level = "forbid"
108+
# When adding a new cfg attribute, ensure that it is added to this list.
109+
check-cfg = [
110+
"cfg(vss)",
111+
"cfg(vss_test)",
112+
"cfg(ldk_bench)",
113+
"cfg(tokio_unstable)",
114+
]

0 commit comments

Comments
 (0)