Skip to content

Commit

Permalink
Merge pull request #335 from tnull/2024-07-account-for-check-cfg
Browse files Browse the repository at this point in the history
Account for `check-cfg`
  • Loading branch information
tnull committed Jul 30, 2024
2 parents 77a0bbe + 5733b58 commit 5b9b607
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,13 @@ panic = "abort"

[profile.dev]
panic = "abort"

[lints.rust.unexpected_cfgs]
level = "forbid"
# When adding a new cfg attribute, ensure that it is added to this list.
check-cfg = [
"cfg(vss)",
"cfg(vss_test)",
"cfg(ldk_bench)",
"cfg(tokio_unstable)",
]

0 comments on commit 5b9b607

Please sign in to comment.