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

Impl get_size::GetSize (behind feature flag) (v2 branch) #336

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

amandasaurus
Copy link
Contributor

Shows memory usage of the struct

cf. issue #331

this is against the v2 branch. The tests pass, but I haven't tried this code in real uses yet.

Copy link
Collaborator

@mbrubeck mbrubeck left a comment

Choose a reason for hiding this comment

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

Looks good, just a couple of minor changes needed.

src/lib.rs Outdated Show resolved Hide resolved
src/tests.rs Outdated Show resolved Hide resolved
Shows memory usage of the struct

cf. issue servo#331
@amandasaurus
Copy link
Contributor Author

I've fixed those 2 things, and pushed a new branch.

@mbrubeck mbrubeck added this pull request to the merge queue Jan 18, 2024
Merged via the queue into servo:v2 with commit cf03b15 Jan 18, 2024
6 checks passed
mbrubeck added a commit that referenced this pull request Jan 19, 2024
This reverts commit cf03b15.

Avoids a cyclic dependency when the build includes the
`get-size/derive` feature.
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.

2 participants