Skip to content

Commit 1eb20ff

Browse files
committed
Enforce no invalid cfg flags
...and explicitly allow `test_mod_pointers` so new rustc doesn't spit out a ton of warnings
1 parent fe20284 commit 1eb20ff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lightning-c-bindings/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,9 @@ panic = "abort"
3737

3838
[profile.release]
3939
panic = "abort"
40+
41+
[lints.rust.unexpected_cfgs]
42+
level = "forbid"
43+
check-cfg = [
44+
"cfg(test_mod_pointers)",
45+
]

0 commit comments

Comments
 (0)