Skip to content

Commit 4084f0e

Browse files
authored
Rollup merge of rust-lang#52627 - Mark-Simulacrum:rustdoc-test-correct, r=alexcrichton
Compile rustc before building tests for rustdoc r? @alexcrichton
2 parents 291a620 + 814e6e6 commit 4084f0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/test.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1732,6 +1732,7 @@ impl Step for CrateRustdoc {
17321732

17331733
let compiler = builder.compiler(builder.top_stage, self.host);
17341734
let target = compiler.host;
1735+
builder.ensure(compile::Rustc { compiler, target });
17351736

17361737
let mut cargo = tool::prepare_tool_cargo(builder,
17371738
compiler,

0 commit comments

Comments
 (0)