-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Rustdoc show rustc_layout #75988
Copy link
Copy link
Closed
Labels
A-layoutArea: Memory layout of typesArea: Memory layout of typesC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-layoutArea: Memory layout of typesArea: Memory layout of typesC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
It would be good to be able to understand the size, abi and debug stuff related to
rustc_layout. Instead of needing users to manually add#[rustc_layout(debug)]tostructandenumon nightly, why not just show it on rustdoc generated pages, this may only be limited to concrete struct and enum, otherwise it may not be as useful since currentlyrustc_layoutis not so useful on those.CC @rust-lang/rustdoc