Rollup merge of #52627 - Mark-Simulacrum:rustdoc-test-correct, r=alexcrichton

Compile rustc before building tests for rustdoc

r? @alexcrichton
This commit is contained in:
kennytm
2018-07-24 09:49:55 +08:00
committed by GitHub
+1
View File
@@ -1732,6 +1732,7 @@ fn run(self, builder: &Builder) {
let compiler = builder.compiler(builder.top_stage, self.host);
let target = compiler.host;
builder.ensure(compile::Rustc { compiler, target });
let mut cargo = tool::prepare_tool_cargo(builder,
compiler,