Skip to content

Commit 596e97f

Browse files
Rollup merge of rust-lang#44321 - jakllsch:jakllsch-4f2d6c87-2674-43e4-9c5f-2415136e6bdc, r=Mark-Simulacrum
bootstrap: only include docs in extended distribution if enabled Fixes rust-lang#44163
2 parents 4051233 + fcefe36 commit 596e97f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/bootstrap/dist.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,10 @@ impl Step for Extended {
11731173
// the std files during uninstall. To do this ensure that rustc comes
11741174
// before rust-std in the list below.
11751175
let mut tarballs = vec![rustc_installer, cargo_installer, rls_installer,
1176-
analysis_installer, docs_installer, std_installer];
1176+
analysis_installer, std_installer];
1177+
if build.config.docs {
1178+
tarballs.push(docs_installer);
1179+
}
11771180
if target.contains("pc-windows-gnu") {
11781181
tarballs.push(mingw_installer.unwrap());
11791182
}

0 commit comments

Comments
 (0)