Skip to content

Commit

Permalink
Build rustdoc for run-make tests, not just run-make-fulldeps
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jyn514 committed Mar 5, 2021
1 parent edeee91 commit a05a890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a05a890

Please sign in to comment.