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 @@ -215,6 +215,10 @@ impl Builder {
215
215
self . package ( "rust-docs" , & mut manifest. pkg , TARGETS ) ;
216
216
self . package ( "rust-src" , & mut manifest. pkg , & [ "*" ] ) ;
217
217
218
+ if self . channel == "rust-nightly" {
219
+ self . package ( "analysis" , & mut manifest. pkg , TARGETS ) ;
220
+ }
221
+
218
222
let mut pkg = Package {
219
223
version : self . cached_version ( "rust" ) . to_string ( ) ,
220
224
target : HashMap :: new ( ) ,
@@ -264,6 +268,12 @@ impl Builder {
264
268
target : target. to_string ( ) ,
265
269
} ) ;
266
270
}
271
+ if self . channel == "nightly" {
272
+ extensions. push ( Component {
273
+ pkg : "rust-analysis" . to_string ( ) ,
274
+ target : target. to_string ( ) ,
275
+ } ) ;
276
+ }
267
277
}
268
278
extensions. push ( Component {
269
279
pkg : "rust-src" . to_string ( ) ,
You can’t perform that action at this time.
0 commit comments