diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-03-05 10:48:21 -0500 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-03-05 10:48:21 -0500 |
| commit | a05a890c35150efbfddcd8788e998bbf7d605847 (patch) | |
| tree | 08c2a2a5230a8457c1f3d0916a29b99ad01fe363 /src/bootstrap | |
| parent | edeee915b1c52f97411e57ef6b1a8bd46548a37a (diff) | |
| download | rust-a05a890c35150efbfddcd8788e998bbf7d605847.tar.gz rust-a05a890c35150efbfddcd8788e998bbf7d605847.zip | |
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.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index c0cd24dd81f..9b06fcf343b 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" |
