Skip to content

Commit

Permalink
Rollup merge of rust-lang#40526 - brson:docs-req, r=alexcrichton
Browse files Browse the repository at this point in the history
Make docs required again

Completely untested. Fixes rust-lang/rustup#903

r? @alexcrichton cc @steveklabnik
  • Loading branch information
frewsxcv authored Mar 17, 2017
2 parents ec3bff2 + 3554ff3 commit 11788ea
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/tools/build-manifest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,13 @@ impl Builder {
let mut components = Vec::new();
let mut extensions = Vec::new();

// rustc/rust-std/cargo are all required, and so is rust-mingw if it's
// available for the target.
// rustc/rust-std/cargo/docs are all required, and so is rust-mingw
// if it's available for the target.
components.extend(vec![
Component { pkg: "rustc".to_string(), target: host.to_string() },
Component { pkg: "rust-std".to_string(), target: host.to_string() },
Component { pkg: "cargo".to_string(), target: host.to_string() },
Component { pkg: "rust-docs".to_string(), target: host.to_string() },
]);
if host.contains("pc-windows-gnu") {
components.push(Component {
Expand All @@ -264,12 +265,6 @@ impl Builder {
});
}

// Docs, other standard libraries, and the source package are all
// optional.
extensions.push(Component {
pkg: "rust-docs".to_string(),
target: host.to_string(),
});
for target in TARGETS {
if target != host {
extensions.push(Component {
Expand Down

0 comments on commit 11788ea

Please sign in to comment.