You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# See https://linebender.org/wiki/canonical-lints/
# The default Clippy value is capped at 8 bytes, which was chosen to improve performance on 32-bit.
# Given that we are building for the future and even low-end mobile phones have 64-bit CPUs,
# it makes sense to optimize for 64-bit and accept the performance hits on 32-bit.
# 16 bytes is the number of bytes that fits into two 64-bit CPU registers.
trivial-copy-size-limit = 16
# END LINEBENDER LINT SET
disallowed-methods = [
{ path = "core::mem::transmute", reason = "Use the checked helpers in fearless_simd/src/transmute.rs: checked_transmute_copy for values, checked_cast_ref for shared references, and checked_cast_mut for mutable references." },
{ path = "std::mem::transmute", reason = "Use the checked helpers in fearless_simd/src/transmute.rs: checked_transmute_copy for values, checked_cast_ref for shared references, and checked_cast_mut for mutable references." },
{ path = "core::mem::transmute_copy", reason = "Use crate::transmute::checked_transmute_copy so that safety preconditions are verified at compile time." },
{ path = "std::mem::transmute_copy", reason = "Use crate::transmute::checked_transmute_copy so that safety preconditions are verified at compile time." },