Revert "Bug 1960589 - Implement MallocSizeOf for all atomic integer types r=nical" for causing wrench bustages

This reverts commit 83dd6bedea.
This commit is contained in:
Alexandru Marc
2025-05-06 12:37:47 +03:00
committed by amarc@mozilla.com
parent 83dd6bedea
commit 9cfb303749
3 changed files with 2 additions and 14 deletions

2
Cargo.lock generated
View File

@@ -7851,7 +7851,7 @@ dependencies = [
[[package]]
name = "wr_malloc_size_of"
version = "0.2.1"
version = "0.2.0"
dependencies = [
"app_units",
"euclid",

View File

@@ -2,7 +2,7 @@
authors = ["The Servo Project Developers"]
description = "Internal utility to measure memory usage in WebRender."
name = "wr_malloc_size_of"
version = "0.2.1"
version = "0.2.0"
license = "MIT OR Apache-2.0"
edition = "2018"

View File

@@ -448,18 +448,6 @@ malloc_size_of_is_0!(f32, f64);
malloc_size_of_is_0!(std::sync::atomic::AtomicBool);
malloc_size_of_is_0!(std::sync::atomic::AtomicIsize);
malloc_size_of_is_0!(std::sync::atomic::AtomicUsize);
malloc_size_of_is_0!(
std::sync::atomic::AtomicU8,
std::sync::atomic::AtomicU16,
std::sync::atomic::AtomicU32,
std::sync::atomic::AtomicU64
);
malloc_size_of_is_0!(
std::sync::atomic::AtomicI8,
std::sync::atomic::AtomicI16,
std::sync::atomic::AtomicI32,
std::sync::atomic::AtomicI64
);
malloc_size_of_is_0!(std::num::NonZeroUsize);
malloc_size_of_is_0!(std::num::NonZeroU32);