Skip to content

Commit a602435

Browse files
committed
cargo: whilelist the bench cfg flag for the unexpected_cfg lint
1 parent 9eff241 commit a602435

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,6 @@ required-features = ["std", "base64"]
6565
[workspace]
6666
members = ["bitcoind-tests", "fuzz"]
6767
exclude = ["embedded"]
68+
69+
[lints.rust]
70+
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(bench)'] }

0 commit comments

Comments
 (0)