File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
src/tools/build-manifest/src Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -217,6 +217,10 @@ impl Builder {
217
217
self . package ( "rust-docs" , & mut manifest. pkg , TARGETS ) ;
218
218
self . package ( "rust-src" , & mut manifest. pkg , & [ "*" ] ) ;
219
219
220
+ if self . channel == "rust-nightly" {
221
+ self . package ( "analysis" , & mut manifest. pkg , TARGETS ) ;
222
+ }
223
+
220
224
let mut pkg = Package {
221
225
version : self . cached_version ( "rust" ) . to_string ( ) ,
222
226
target : HashMap :: new ( ) ,
@@ -266,6 +270,12 @@ impl Builder {
266
270
target : target. to_string ( ) ,
267
271
} ) ;
268
272
}
273
+ if self . channel == "nightly" {
274
+ extensions. push ( Component {
275
+ pkg : "rust-analysis" . to_string ( ) ,
276
+ target : target. to_string ( ) ,
277
+ } ) ;
278
+ }
269
279
}
270
280
extensions. push ( Component {
271
281
pkg : "rust-src" . to_string ( ) ,
You can’t perform that action at this time.
0 commit comments