Skip to content

Commit

Permalink
Allow new unexpected_cfgs lint for tarpaulin incompatability
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbb committed May 5, 2024
1 parent 75f70ac commit 85a10af
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 @@ -35,6 +35,10 @@ unused_import_braces = "warn"
variant_size_differences = "warn"
# Unsafe code is needed for array initialization using MaybeUninit.
# unsafe_code = "forbid"
# FIXME: For tarpaulin some code is excluded, since tarpaulin does not detect the line coverage well
# Statements like: #![cfg(not(tarpaulin_include))]
# but the lint doesn't like them and it is probably better to not have a build.rs just for that.
unexpected_cfgs = "allow"

[workspace.lints.clippy]
# These lints have false positives and are disabled until they are fixed.
Expand Down

0 comments on commit 85a10af

Please sign in to comment.