about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-12-20 11:16:37 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-12-20 12:59:05 -0800
commit210411105edca09d60f1eddd34f2961e685ae3b3 (patch)
tree6559d239fa337ae5183dce97606b326b66f83192
parent55b8660b67e24af9ece3054b69aab7d6b7257953 (diff)
parentc49e3172954151920802b1c434a536ebf9a776bb (diff)
downloadrust-210411105edca09d60f1eddd34f2961e685ae3b3.tar.gz
rust-210411105edca09d60f1eddd34f2961e685ae3b3.zip
Rollup merge of #38398 - ollie27:patch-1, r=alexcrichton
rustbuild: Stop building docs for libtest by default

They cause the search index from the std docs to get overwritten just like #34800.

Part of #38319.
-rw-r--r--src/bootstrap/step.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/step.rs b/src/bootstrap/step.rs
index 95882cf8126..7583d395175 100644
--- a/src/bootstrap/step.rs
+++ b/src/bootstrap/step.rs
@@ -455,7 +455,7 @@ pub fn build_rules(build: &Build) -> Rules {
     for (krate, path, default) in krates("test_shim") {
         rules.doc(&krate.doc_step, path)
              .dep(|s| s.name("libtest"))
-             .default(default && build.config.docs)
+             .default(default && build.config.compiler_docs)
              .run(move |s| doc::test(build, s.stage, s.target));
     }
     for (krate, path, default) in krates("rustc-main") {