Skip to content

Commit

Permalink
Clippy: configure ignore-interior-mutability.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Jul 22, 2024
1 parent 9b2a85f commit 0647f20
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions clippy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ doc-valid-idents = ["glTF", "sRGB", "DirectX", "MagicaVoxel", "NaN", "OpenGL", "
enforced-import-renames = [
{ path = "all_is_cubes::rerun_glue", rename = "rg" },
]
ignore-interior-mutability = [
# Workaround for https://github.com/rust-lang/rust-clippy/issues/12951
"all_is_cubes::block::Block", # contains ArcStr
"all_is_cubes::block::BlockAttributes", # contains ArcStr
"all_is_cubes::block::EvaluatedBlock", # contains ArcStr
"arcstr::ArcStr",
"arcstr::SubStr",
"test_renderers::harness::UniverseFuture", # contains futures::Shared but does not use it as key
]

# --- Configurations for "large values" kinds of lints ---
# It'd be nice if these were per-package/per-crate, but clippy doesn't support that,
Expand Down

0 comments on commit 0647f20

Please sign in to comment.