]> git.lizzy.rs Git - rust.git/commitdiff
Compile rustc before building tests for rustdoc
authorMark Rousskov <mark.simulacrum@gmail.com>
Sat, 21 Jul 2018 21:54:54 +0000 (15:54 -0600)
committerMark Rousskov <mark.simulacrum@gmail.com>
Sun, 22 Jul 2018 20:40:00 +0000 (14:40 -0600)
src/bootstrap/test.rs

index 6254f98165665630550f7c68dbf88be360cb6dab..dc41e75be26af9e307a026eb0cfaa889bd0cfd00 100644 (file)
@@ -1730,6 +1730,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,