Skip to content

Commit

Permalink
bootstrap: only include docs in extended distribution if enabled
Browse files Browse the repository at this point in the history
Issue #44163
  • Loading branch information
jakllsch committed Sep 4, 2017
1 parent 088216f commit fcefe36
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,10 @@ impl Step for Extended {
// the std files during uninstall. To do this ensure that rustc comes
// before rust-std in the list below.
let mut tarballs = vec![rustc_installer, cargo_installer, rls_installer,
analysis_installer, docs_installer, std_installer];
analysis_installer, std_installer];
if build.config.docs {
tarballs.push(docs_installer);
}
if target.contains("pc-windows-gnu") {
tarballs.push(mingw_installer.unwrap());
}
Expand Down

0 comments on commit fcefe36

Please sign in to comment.