Skip to content

Commit

Permalink
add rustc-dev to tools/build-manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Oct 7, 2019
1 parent 9175f27 commit bd4e9d5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/tools/build-manifest/src/main.rs
Expand Up @@ -399,6 +399,7 @@ impl Builder {
fn add_packages_to(&mut self, manifest: &mut Manifest) {
let mut package = |name, targets| self.package(name, &mut manifest.pkg, targets);
package("rustc", HOSTS);
package("rustc-dev", HOSTS);
package("cargo", HOSTS);
package("rust-mingw", MINGW);
package("rust-std", TARGETS);
Expand Down Expand Up @@ -473,6 +474,7 @@ impl Builder {
// and so is rust-mingw if it's available for the target.
components.extend(vec![
host_component("rustc"),
host_component("rustc-dev"),
host_component("rust-std"),
host_component("cargo"),
host_component("rust-docs"),
Expand All @@ -498,6 +500,11 @@ impl Builder {
.filter(|&&target| target != host)
.map(|target| Component::from_str("rust-std", target))
);
extensions.extend(
HOSTS.iter()
.filter(|&&target| target != host)
.map(|target| Component::from_str("rustc-dev", target))
);
extensions.push(Component::from_str("rust-src", "*"));

// If the components/extensions don't actually exist for this
Expand Down

0 comments on commit bd4e9d5

Please sign in to comment.