Bug 1960589 - Implement MallocSizeOf for all atomic integer types r=nical
This also updates the version while we're at it, so we can publish it afterwards. Differential Revision: https://phabricator.services.mozilla.com/D246730
This commit is contained in:
committed by
jrediger@mozilla.com
parent
e113f5a148
commit
2f22446e69
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -7851,7 +7851,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wr_malloc_size_of"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
dependencies = [
|
||||
"app_units",
|
||||
"euclid",
|
||||
|
||||
2
gfx/wr/Cargo.lock
generated
2
gfx/wr/Cargo.lock
generated
@@ -3488,7 +3488,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wr_malloc_size_of"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
dependencies = [
|
||||
"app_units",
|
||||
"euclid",
|
||||
|
||||
@@ -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.0"
|
||||
version = "0.2.1"
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2018"
|
||||
|
||||
|
||||
@@ -448,6 +448,18 @@ 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);
|
||||
|
||||
Reference in New Issue
Block a user