On 6/5/2024, PR jobs started failing due to new warnings added in Rust nightly. The warnings suggest replacing core::mem::size_of with simply size_of because core::mem::size_of has been added to the standard prelude. However, making this change would break existing code when using pre-1.80.0 compilers, so the only good fix is to add use core::mem::size_of in lots of places.
I'm opening this issue to track the problem and to have a place to link PRs that work around the problem in the short term.
Summary
On 6/5/2024, PR jobs started failing due to new warnings added in Rust nightly. The warnings suggest replacing
core::mem::size_of
with simplysize_of
becausecore::mem::size_of
has been added to the standard prelude. However, making this change would break existing code when using pre-1.80.0 compilers, so the only good fix is to adduse core::mem::size_of
in lots of places.I'm opening this issue to track the problem and to have a place to link PRs that work around the problem in the short term.
Crate manifest
No response
Crate code
No response