Skip to content

Commit

Permalink
Disable unexpected cfg lint for cfg(loom)
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-nitrokey committed Jan 14, 2025
1 parent 0fd6e29 commit b80645c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ rust-version = "1.79"

[target.'cfg(loom)'.dependencies]
loom = "0.5"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(loom)"] }

0 comments on commit b80645c

Please sign in to comment.