Skip to content

Commit 33ab83c

Browse files
committed
Auto 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.
2 parents d250169 + c49e317 commit 33ab83c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/step.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ pub fn build_rules(build: &Build) -> Rules {
458458
for (krate, path, default) in krates("test_shim") {
459459
rules.doc(&krate.doc_step, path)
460460
.dep(|s| s.name("libtest"))
461-
.default(default && build.config.docs)
461+
.default(default && build.config.compiler_docs)
462462
.run(move |s| doc::test(build, s.stage, s.target));
463463
}
464464
for (krate, path, default) in krates("rustc-main") {

0 commit comments

Comments
 (0)