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 {
215215 self . package ( "rust-docs" , & mut manifest. pkg , TARGETS ) ;
216216 self . package ( "rust-src" , & mut manifest. pkg , & [ "*" ] ) ;
217217
218+ if self . channel == "rust-nightly" {
219+ self . package ( "analysis" , & mut manifest. pkg , TARGETS ) ;
220+ }
221+
218222 let mut pkg = Package {
219223 version : self . cached_version ( "rust" ) . to_string ( ) ,
220224 target : HashMap :: new ( ) ,
@@ -264,6 +268,12 @@ impl Builder {
264268 target : target. to_string ( ) ,
265269 } ) ;
266270 }
271+ if self . channel == "nightly" {
272+ extensions. push ( Component {
273+ pkg : "rust-analysis" . to_string ( ) ,
274+ target : target. to_string ( ) ,
275+ } ) ;
276+ }
267277 }
268278 extensions. push ( Component {
269279 pkg : "rust-src" . to_string ( ) ,
You can’t perform that action at this time.
0 commit comments