Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HeapSizeOf support. #85

Merged
merged 4 commits into from
Aug 13, 2015
Merged

Add HeapSizeOf support. #85

merged 4 commits into from
Aug 13, 2015

Conversation

notriddle
Copy link
Contributor

Part of servo/heapsize#5.

Review on Reviewable

@SimonSapin
Copy link
Member

So that this code is built on CI, please add a line in the script section of .travis.yml that is something like this (untested):

   - ([ $TRAVIS_RUST_VERSION != nightly ] || cargo test --features heap_size)

@@ -83,6 +84,8 @@ pub use nth::parse_nth;
pub use serializer::{ToCss, CssStringWriter, serialize_identifier, serialize_string};
pub use parser::{Parser, Delimiter, Delimiters, SourcePosition};

#[cfg(feature = "heap_size")] known_heap_size!(0, Color, RGBA);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why use this over deriving the trait on the types?

@SimonSapin
Copy link
Member

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit 9e84a9f has been approved by SimonSapin

@bors-servo
Copy link
Contributor

⌛ Testing commit 9e84a9f with merge 440a30f...

bors-servo pushed a commit that referenced this pull request Aug 13, 2015
Add HeapSizeOf support.

Part of servo/heapsize#5.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-cssparser/85)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - travis

@bors-servo bors-servo merged commit 9e84a9f into servo:master Aug 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants