Skip to content

Commit

Permalink
Cargo.toml: add devicemapper versions to unexpected_cfgs
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Gurney <bgurney@redhat.com>
  • Loading branch information
bgurney-rh committed Jul 25, 2024
1 parent f0cb5f6 commit 567c856
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,12 @@ path = "./devicemapper-rs-sys"

[build-dependencies]
semver = "1.0.0"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(devicemapper41supported)',
'cfg(devicemapper42supported)',
'cfg(devicemapper437supported)',
'cfg(devicemapper441supported)',
'cfg(devicemapper46supported)'
] }

0 comments on commit 567c856

Please sign in to comment.