about summary refs log tree commit diff
path: root/src/bootstrap/test.rs
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-07-24 09:49:55 +0800
committerGitHub <noreply@github.com>2018-07-24 09:49:55 +0800
commit4084f0ee8a7112c234e67ff8daf4a0ee1db3abef (patch)
tree6815bab5e21e57d85c40a8b377df42fba2c60d6b /src/bootstrap/test.rs
parent291a62064cc0af2cacd58f2697d1bcbd239a5103 (diff)
parent814e6e60f9f0922b0cfa720102a23e0b7a5a0828 (diff)
downloadrust-4084f0ee8a7112c234e67ff8daf4a0ee1db3abef.tar.gz
rust-4084f0ee8a7112c234e67ff8daf4a0ee1db3abef.zip
Rollup merge of #52627 - Mark-Simulacrum:rustdoc-test-correct, r=alexcrichton
Compile rustc before building tests for rustdoc

r? @alexcrichton
Diffstat (limited to 'src/bootstrap/test.rs')
-rw-r--r--src/bootstrap/test.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 38bba40aa65..639c96bc208 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -1732,6 +1732,7 @@ impl Step for CrateRustdoc {
 
         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,