Skip to content

Commit

Permalink
rustbuild: Stop building docs for libtest by default
Browse files Browse the repository at this point in the history
They cause the search index from the std docs to get overwritten just like #34800.

Part of #38319.
  • Loading branch information
ollie27 committed Dec 15, 2016
1 parent f70ad0a commit c49e317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/step.rs
Expand Up @@ -458,7 +458,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 c49e317

Please sign in to comment.