Skip to content

Commit bd4e9d5

Browse files
committed
add rustc-dev to tools/build-manifest
1 parent 9175f27 commit bd4e9d5

File tree

1 file changed

+7
-0
lines changed
  • src/tools/build-manifest/src

1 file changed

+7
-0
lines changed

src/tools/build-manifest/src/main.rs

+7
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ impl Builder {
399399
fn add_packages_to(&mut self, manifest: &mut Manifest) {
400400
let mut package = |name, targets| self.package(name, &mut manifest.pkg, targets);
401401
package("rustc", HOSTS);
402+
package("rustc-dev", HOSTS);
402403
package("cargo", HOSTS);
403404
package("rust-mingw", MINGW);
404405
package("rust-std", TARGETS);
@@ -473,6 +474,7 @@ impl Builder {
473474
// and so is rust-mingw if it's available for the target.
474475
components.extend(vec![
475476
host_component("rustc"),
477+
host_component("rustc-dev"),
476478
host_component("rust-std"),
477479
host_component("cargo"),
478480
host_component("rust-docs"),
@@ -498,6 +500,11 @@ impl Builder {
498500
.filter(|&&target| target != host)
499501
.map(|target| Component::from_str("rust-std", target))
500502
);
503+
extensions.extend(
504+
HOSTS.iter()
505+
.filter(|&&target| target != host)
506+
.map(|target| Component::from_str("rustc-dev", target))
507+
);
501508
extensions.push(Component::from_str("rust-src", "*"));
502509

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

0 commit comments

Comments
 (0)