about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-03-10 08:01:30 +0900
committerGitHub <noreply@github.com>2021-03-10 08:01:30 +0900
commit48a393e10bb17a5f123d24bfddc9fbb034f0cc10 (patch)
tree0dc6657f7c0d8f4fc03efe54541c8fa3c96519c2 /src/bootstrap
parent761a2b389d49d834ee0088aaccb19033e260bd84 (diff)
parenta05a890c35150efbfddcd8788e998bbf7d605847 (diff)
downloadrust-48a393e10bb17a5f123d24bfddc9fbb034f0cc10.tar.gz
rust-48a393e10bb17a5f123d24bfddc9fbb034f0cc10.zip
Rollup merge of #82802 - jyn514:build-rustdoc-fullmake, r=Mark-Simulacrum
Build rustdoc for run-make tests, not just run-make-fulldeps

Rustdoc almost never needs a full stage 2 compiler, and requiring
rustdoc tests to be in run-make-fulldeps adds a lot of compile time for
no reason.

This is the same change from https://github.com/rust-lang/rust/pull/81197, but separated into its own PR. I ran into this again today while working on https://github.com/rust-lang/docs.rs/issues/1302.
r? ```@Mark-Simulacrum```
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 03ae684e23f..5d836c6bb62 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -1076,7 +1076,7 @@ note: if you're sure you want to do this, please open an issue as to why. In the
 
         // Avoid depending on rustdoc when we don't need it.
         if mode == "rustdoc"
-            || (mode == "run-make" && suite.ends_with("fulldeps"))
+            || mode == "run-make"
             || (mode == "ui" && is_rustdoc)
             || mode == "js-doc-test"
             || mode == "rustdoc-json"