Skip to content

Commit 2104111

Browse files
committed
Rollup merge of rust-lang#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 rust-lang#34800. Part of rust-lang#38319.
2 parents 55b8660 + c49e317 commit 2104111

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
@@ -455,7 +455,7 @@ pub fn build_rules(build: &Build) -> Rules {
455455
for (krate, path, default) in krates("test_shim") {
456456
rules.doc(&krate.doc_step, path)
457457
.dep(|s| s.name("libtest"))
458-
.default(default && build.config.docs)
458+
.default(default && build.config.compiler_docs)
459459
.run(move |s| doc::test(build, s.stage, s.target));
460460
}
461461
for (krate, path, default) in krates("rustc-main") {

0 commit comments

Comments
 (0)