I have a few nested enums that are bigger than expected, and it's not enough of a problem that I need to look into it, but for curiosity's sake, it would be nice to know where each byte comes from.
With a nightly compiler, you can use #[rustc_layout(debug)]
on your type.
7 Likes
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.