aboutsummaryrefslogtreecommitdiffstats
path: root/components/malloc_size_of/lib.rs
diff options
context:
space:
mode:
authorBobby Holley <bobbyholley@gmail.com>2019-01-12 19:21:56 +0000
committerEmilio Cobos Álvarez <emilio@crisal.io>2019-01-13 21:59:15 +0100
commitf2d6e07aa016f1c8470880ececde0b57af1b6136 (patch)
tree26cecfeb5c8c5032b43ea99a2a3ed8adc8594de5 /components/malloc_size_of/lib.rs
parent5bf0eea1f834e5154652fc59edc6f5854d389d70 (diff)
downloadservo-f2d6e07aa016f1c8470880ececde0b57af1b6136.tar.gz
servo-f2d6e07aa016f1c8470880ececde0b57af1b6136.zip
Put malloc_size_of_derive on crates.io, and add a reduced fork of malloc_size_of for WebRender.
Differential Revision: https://phabricator.services.mozilla.com/D16353
Diffstat (limited to 'components/malloc_size_of/lib.rs')
-rw-r--r--components/malloc_size_of/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/malloc_size_of/lib.rs b/components/malloc_size_of/lib.rs
index fe988e78f6c..808ffb755dc 100644
--- a/components/malloc_size_of/lib.rs
+++ b/components/malloc_size_of/lib.rs
@@ -42,6 +42,9 @@
//! fields in structs, because it makes it clear that the Box is being
//! measured as well as the thing it points to. E.g.
//! `<Box<_> as MallocSizeOf>::size_of(field, ops)`.
+//!
+//! Note: WebRender has a reduced for of this crate, so that we can avoid
+//! publishing this crate on crates.io.
extern crate app_units;
#[cfg(feature = "servo")]