Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd an annotation for deriving MallocSizeOf that uses MallocUnconditionalSizeOf for specific fields #20401
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Whether it's
derive(MallocSizeOf(unconditional = "field1,field2"))on a type or#[unconditional_malloc_size_of]on a particular field, this would make it much easier to deal with structures that contain a mixture of fields that can be automatically derived and fields that cannot (eg. #20391).