We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a7a349a + 9ce8bb9 commit b0b29efCopy full SHA for b0b29ef
src/tools/build-manifest/src/main.rs
@@ -217,6 +217,10 @@ impl Builder {
217
self.package("rust-docs", &mut manifest.pkg, TARGETS);
218
self.package("rust-src", &mut manifest.pkg, &["*"]);
219
220
+ if self.channel == "rust-nightly" {
221
+ self.package("analysis", &mut manifest.pkg, TARGETS);
222
+ }
223
+
224
let mut pkg = Package {
225
version: self.cached_version("rust").to_string(),
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
280
extensions.push(Component {
281
pkg: "rust-src".to_string(),
0 commit comments