Package: rust-malloc-size-of / 0.1.1-2

Metadata

Package Version Patches format
rust-malloc-size-of 0.1.1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
platforms without atomic 64.patch | (download)

Cargo.toml | 2 1 + 1 - 0 !
src/impls.rs | 13 9 + 4 - 0 !
2 files changed, 10 insertions(+), 5 deletions(-)

 support platforms without 64-bit atomic types
 As explained in https://doc.rust-lang.org/std/sync/atomic/#portability,
 some platforms don't have 64-bit atomic types.  As a result of
 `smallvec` being used by `pydantic-core`, this crate is involved in some
 dependency chains in Debian where we currently support the armel and
 powerpc architectures, neither of which have these types.
 .
 Since the `malloc_size_of_is_0!` macro just implements a trait on the
 types it's called with, it should be fine to skip types that don't exist
 on the target platform.
 .
 Bumps MSRV to 1.60 for `#[cfg(target_has_atomic = "...")]`.