@@ -399,6 +399,7 @@ impl Builder {
399
399
fn add_packages_to ( & mut self , manifest : & mut Manifest ) {
400
400
let mut package = |name, targets| self . package ( name, & mut manifest. pkg , targets) ;
401
401
package ( "rustc" , HOSTS ) ;
402
+ package ( "rustc-dev" , HOSTS ) ;
402
403
package ( "cargo" , HOSTS ) ;
403
404
package ( "rust-mingw" , MINGW ) ;
404
405
package ( "rust-std" , TARGETS ) ;
@@ -473,6 +474,7 @@ impl Builder {
473
474
// and so is rust-mingw if it's available for the target.
474
475
components. extend ( vec ! [
475
476
host_component( "rustc" ) ,
477
+ host_component( "rustc-dev" ) ,
476
478
host_component( "rust-std" ) ,
477
479
host_component( "cargo" ) ,
478
480
host_component( "rust-docs" ) ,
@@ -498,6 +500,11 @@ impl Builder {
498
500
. filter ( |& & target| target != host)
499
501
. map ( |target| Component :: from_str ( "rust-std" , target) )
500
502
) ;
503
+ extensions. extend (
504
+ HOSTS . iter ( )
505
+ . filter ( |& & target| target != host)
506
+ . map ( |target| Component :: from_str ( "rustc-dev" , target) )
507
+ ) ;
501
508
extensions. push ( Component :: from_str ( "rust-src" , "*" ) ) ;
502
509
503
510
// If the components/extensions don't actually exist for this
0 commit comments