about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2019-10-03 11:40:39 -0700
committerJosh Stone <jistone@redhat.com>2019-10-07 13:48:16 -0700
commitbd4e9d5fe146d5475dc35f5f61d5186b15692fdc (patch)
treee2082d8636c7390d00ec48e9b991a8b160c32b41
parent9175f279b583fa71d8b4f6078af319e9a2155b75 (diff)
downloadrust-bd4e9d5fe146d5475dc35f5f61d5186b15692fdc.tar.gz
rust-bd4e9d5fe146d5475dc35f5f61d5186b15692fdc.zip
add rustc-dev to tools/build-manifest
-rw-r--r--src/tools/build-manifest/src/main.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs
index f41e7dd17ed..d5933789a64 100644
--- a/src/tools/build-manifest/src/main.rs
+++ b/src/tools/build-manifest/src/main.rs
@@ -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);
@@ -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"),
@@ -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