@@ -332,7 +332,7 @@ def build_manifest(rustc_date, rustc_version, rustc_short_version,
332
332
333
333
packages = {}
334
334
335
- # Build all the non-rust packages. All the artifects here are
335
+ # Build all the non-rust packages. All the artifacts here are
336
336
# already in the archives and will be verified.
337
337
rustc_pkg = build_package_def_from_archive ("rustc" , "dist" , rustc_date ,
338
338
rustc_version , rustc_short_version ,
@@ -359,6 +359,13 @@ def build_manifest(rustc_date, rustc_version, rustc_short_version,
359
359
packages ["rust-mingw" ] = mingw_pkg
360
360
packages ["rust-src" ] = src_pkg
361
361
362
+ if channel == "nightly" :
363
+ analysis_pkg = build_package_def_from_archive ("rust-analysis" , "dist" , rustc_date ,
364
+ rustc_version , rustc_short_version ,
365
+ target_list )
366
+ packages ["rust-analysis" ] = analysis_pkg
367
+
368
+
362
369
# Build the rust package. It is the only one with subcomponents
363
370
rust_target_pkgs = {}
364
371
for host in host_list :
@@ -404,6 +411,12 @@ def build_manifest(rustc_date, rustc_version, rustc_short_version,
404
411
"target" : "*" ,
405
412
}]
406
413
414
+ if channel == "nightly" :
415
+ extensions += [{
416
+ "pkg" : "rust-analysis" ,
417
+ "target" : target ,
418
+ }]
419
+
407
420
# The binaries of the 'rust' package are on the local disk.
408
421
# url_and_hash_of_rust_package will try to locate them
409
422
# and tell us where they are going to live on static.rust-lang.org
0 commit comments