Skip to content

Commit 16e14ce

Browse files
authored
Rollup merge of rust-lang#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 rust-lang#81197, but separated into its own PR. I ran into this again today while working on rust-lang/docs.rs#1302. r? `@Mark-Simulacrum`
2 parents f5b1793 + a05a890 commit 16e14ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ note: if you're sure you want to do this, please open an issue as to why. In the
10761076

10771077
// Avoid depending on rustdoc when we don't need it.
10781078
if mode == "rustdoc"
1079-
|| (mode == "run-make" && suite.ends_with("fulldeps"))
1079+
|| mode == "run-make"
10801080
|| (mode == "ui" && is_rustdoc)
10811081
|| mode == "js-doc-test"
10821082
|| mode == "rustdoc-json"

0 commit comments

Comments
 (0)