Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 41043b8

Browse files
committed
Account for unexpected cfg flag warnings
1 parent 8dd8a1c commit 41043b8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,10 @@ lightning-persister = { version = "0.0.123", default-features = false }
3535
lightning-background-processor = { version = "0.0.123", default-features = false, features = ["std"] }
3636
proptest = "1.0.0"
3737
tokio = { version = "1.35", default-features = false, features = [ "rt-multi-thread", "time", "sync", "macros" ] }
38+
39+
[lints.rust.unexpected_cfgs]
40+
level = "forbid"
41+
# When adding a new cfg attribute, ensure that it is added to this list.
42+
check-cfg = [
43+
"cfg(lsps1)",
44+
]

0 commit comments

Comments
 (0)