mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
parent
9c6d9f612e
commit
8bd2e91cdc
20 changed files with 296 additions and 346 deletions
|
@ -10,16 +10,10 @@
|
|||
|
||||
//! A crate for deriving the MallocSizeOf trait.
|
||||
|
||||
#[macro_use] extern crate quote;
|
||||
extern crate quote;
|
||||
#[macro_use] extern crate syn;
|
||||
|
||||
#[cfg(not(test))]
|
||||
#[macro_use] extern crate synstructure;
|
||||
|
||||
#[cfg(test)]
|
||||
extern crate synstructure;
|
||||
|
||||
|
||||
#[cfg(not(test))]
|
||||
decl_derive!([MallocSizeOf, attributes(ignore_malloc_size_of)] => malloc_size_of_derive);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue