Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 9615d6d

Browse files
committed
Enable --show-type-layout for the rustc API docs
1 parent 12ee920 commit 9615d6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/doc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,7 @@ impl Step for Rustc {
549549
cargo.rustdocflag("--enable-index-page");
550550
cargo.rustdocflag("-Zunstable-options");
551551
cargo.rustdocflag("-Znormalize-docs");
552+
cargo.rustdocflag("--show-type-layout");
552553
compile::rustc_cargo(builder, &mut cargo, target);
553554

554555
// Only include compiler crates, no dependencies of those, such as `libc`.

0 commit comments

Comments
 (0)