Skip to content

Commit

Permalink
Add [lints.rust.unexpected_cfgs] to Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Jul 9, 2024
1 parent 4413893 commit 2ed8beb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ check-rewrites = []
check-spans = []
ci = []

[lints.rust.unexpected_cfgs]
level = "deny"
check-cfg = ["cfg(dylint_lib, values(any()))", "cfg(nightly)"]

[workspace.metadata.dylint]
libraries = [
{ git = "https://github.com/trailofbits/dylint", pattern = "examples/general/non_thread_safe_call_in_test" },
Expand Down

0 comments on commit 2ed8beb

Please sign in to comment.