Skip to content

Commit 4cfe4fb

Browse files
Generate macro expansion for rust compiler crates docs
1 parent 52fda2e commit 4cfe4fb

File tree

1 file changed

+1
-0
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-0
lines changed

src/bootstrap/src/core/build_steps/doc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -932,6 +932,7 @@ impl Step for Rustc {
932932
// see https://github.com/rust-lang/rust/pull/122066#issuecomment-1983049222
933933
// If there is any bug, please comment out the next line.
934934
cargo.rustdocflag("--generate-link-to-definition");
935+
cargo.rustdocflag("--generate-macro-expansion");
935936

936937
compile::rustc_cargo(builder, &mut cargo, target, &build_compiler, &self.crates);
937938
cargo.arg("-Zskip-rustdoc-fingerprint");

0 commit comments

Comments
 (0)