-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Manifest issue with "preview" components #119164
Copy link
Copy link
Open
Labels
A-dist-componentsArea: dist components, e.g. `rustc-dev`, `rustc-src`, etc.Area: dist components, e.g. `rustc-dev`, `rustc-src`, etc.A-stabilityArea: `#[stable]`, `#[unstable]` etc.Area: `#[stable]`, `#[unstable]` etc.C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-dist-componentsArea: dist components, e.g. `rustc-dev`, `rustc-src`, etc.Area: dist components, e.g. `rustc-dev`, `rustc-src`, etc.A-stabilityArea: `#[stable]`, `#[unstable]` etc.Area: `#[stable]`, `#[unstable]` etc.C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I was asked to file an issue following a Zulip question.
I was able to install the
llvm-toolscomponent. Following some confusion, it turns out that this should not work since it should only be installable asllvm-tools-preview.Following some research, https://static.rust-lang.org/dist/2023-01-26/channel-rust-1.67.toml contains the following section (that https://static.rust-lang.org/dist/2022-12-15/channel-rust-1.66.toml did not):
I think the issue arose with a3dd94e and 494cb47 where I think there was a conflation of components that had preview status (needing a rename section) and components that currently have preview status (that should not have a rename). Looking at
pkgtype!in https://github.com/rust-lang/rust/blob/master/src/tools/build-manifest/src/versions.rs#L41 there are I think two distinct groups of components withpreview=true:rls,rust-analyzer,clippyandrustfmtwhich are stable (and probably were historically previews).llvm-tools,miri,rust-docs-jsonandrustc-codegen-craneliftwhich are not stable.The main issue is that the components of the second group should currently only be added with their
-previewsuffix but currently can be added without the suffix.