Skip to content

Commit 814e6e6

Browse files
Compile rustc before building tests for rustdoc
1 parent 942b384 commit 814e6e6

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
@@ -1730,6 +1730,7 @@ impl Step for CrateRustdoc {
17301730

17311731
let compiler = builder.compiler(builder.top_stage, self.host);
17321732
let target = compiler.host;
1733+
builder.ensure(compile::Rustc { compiler, target });
17331734

17341735
let mut cargo = tool::prepare_tool_cargo(builder,
17351736
compiler,

0 commit comments

Comments
 (0)