File tree 1 file changed +9
-1
lines changed
src/tools/build-manifest/src
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -474,7 +474,6 @@ impl Builder {
474
474
// and so is rust-mingw if it's available for the target.
475
475
components. extend ( vec ! [
476
476
host_component( "rustc" ) ,
477
- host_component( "rustc-dev" ) ,
478
477
host_component( "rust-std" ) ,
479
478
host_component( "cargo" ) ,
480
479
host_component( "rust-docs" ) ,
@@ -483,6 +482,15 @@ impl Builder {
483
482
components. push ( host_component ( "rust-mingw" ) ) ;
484
483
}
485
484
485
+ // The compiler libraries are not stable for end users, but `rustc-dev` was only recently
486
+ // split out of `rust-std`. We'll include it by default as a transition for nightly users,
487
+ // but ship it as an optional component on the beta and stable channels.
488
+ if self . rust_release == "nightly" {
489
+ components. push ( host_component ( "rustc-dev" ) ) ;
490
+ } else {
491
+ extensions. push ( host_component ( "rustc-dev" ) ) ;
492
+ }
493
+
486
494
// Tools are always present in the manifest,
487
495
// but might be marked as unavailable if they weren't built.
488
496
extensions. extend ( vec ! [
You can’t perform that action at this time.
0 commit comments