Skip to content
Permalink
Browse files

Make docs required again

  • Loading branch information
brson committed Mar 14, 2017
1 parent 6f10e2f commit 3554ff32db74b431dfb356cc4533514544c67bf9
Showing with 3 additions and 8 deletions.
  1. +3 −8 src/tools/build-manifest/src/main.rs
@@ -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 {
@@ -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 {

0 comments on commit 3554ff3

Please sign in to comment.
You can’t perform that action at this time.