Skip to content

Commit

Permalink
Rollup merge of rust-lang#38398 - ollie27:patch-1, r=alexcrichton
Browse files Browse the repository at this point in the history
rustbuild: Stop building docs for libtest by default

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

Part of rust-lang#38319.
  • Loading branch information
alexcrichton committed Dec 20, 2016
2 parents 55b8660 + c49e317 commit 2104111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/step.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 2104111

Please sign in to comment.