mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
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
This commit is contained in:
parent
5bf0eea1f8
commit
f2d6e07aa0
7 changed files with 5 additions and 366 deletions
|
@ -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")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue