Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Commit f92708e

Browse files
committed
Add rust-analysis manifest
1 parent a679a6d commit f92708e

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

master/build-rust-manifest.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def build_manifest(rustc_date, rustc_version, rustc_short_version,
332332

333333
packages = {}
334334

335-
# Build all the non-rust packages. All the artifects here are
335+
# Build all the non-rust packages. All the artifacts here are
336336
# already in the archives and will be verified.
337337
rustc_pkg = build_package_def_from_archive("rustc", "dist", rustc_date,
338338
rustc_version, rustc_short_version,
@@ -359,6 +359,13 @@ def build_manifest(rustc_date, rustc_version, rustc_short_version,
359359
packages["rust-mingw"] = mingw_pkg
360360
packages["rust-src"] = src_pkg
361361

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+
362369
# Build the rust package. It is the only one with subcomponents
363370
rust_target_pkgs = {}
364371
for host in host_list:
@@ -404,6 +411,12 @@ def build_manifest(rustc_date, rustc_version, rustc_short_version,
404411
"target": "*",
405412
}]
406413

414+
if channel == "nightly":
415+
extensions += [{
416+
"pkg": "rust-analysis",
417+
"target": target,
418+
}]
419+
407420
# The binaries of the 'rust' package are on the local disk.
408421
# url_and_hash_of_rust_package will try to locate them
409422
# and tell us where they are going to live on static.rust-lang.org

0 commit comments

Comments
 (0)