Skip to content

Commit 484d9b6

Browse files
committed
Don't try to cross-document bootstrap tools
1 parent ad8384e commit 484d9b6

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ macro_rules! tool_doc {
994994
(compilers.build_compiler(), Mode::ToolRustc)
995995
} else {
996996
// bootstrap/host tools have to be documented with the stage 0 compiler
997-
(prepare_doc_compiler(run.builder, target, 1), Mode::ToolBootstrap)
997+
(prepare_doc_compiler(run.builder, run.builder.host_target, 1), Mode::ToolBootstrap)
998998
};
999999

10001000
run.builder.ensure($tool { build_compiler, mode, target });

0 commit comments

Comments
 (0)