1
Fork 0

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 commit is contained in:
Joshua Nelson 2021-03-05 10:48:21 -05:00
parent edeee915b1
commit a05a890c35

View file

@ -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"