Enable --show-type-layout for the rustc API docs

This commit is contained in:
Camelid 2021-04-12 19:43:55 -07:00
parent 12ee920a7c
commit 9615d6dd48

View File

@ -549,6 +549,7 @@ impl Step for Rustc {
cargo.rustdocflag("--enable-index-page");
cargo.rustdocflag("-Zunstable-options");
cargo.rustdocflag("-Znormalize-docs");
cargo.rustdocflag("--show-type-layout");
compile::rustc_cargo(builder, &mut cargo, target);
// Only include compiler crates, no dependencies of those, such as `libc`.