Skip to content

Commit 01b9c88

Browse files
committed
Don't set is_preview for clippy and rustfmt
These have been shipped on stable for many years now and it would be very disruptive to ever remove them. Remove the `-preview` suffix from their dist components.
1 parent cd12888 commit 01b9c88

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/bootstrap/dist.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,6 @@ impl Step for Clippy {
11531153

11541154
let mut tarball = Tarball::new(builder, "clippy", &target.triple);
11551155
tarball.set_overlay(OverlayKind::Clippy);
1156-
tarball.is_preview(true);
11571156
tarball.add_file(clippy, "bin", 0o755);
11581157
tarball.add_file(cargoclippy, "bin", 0o755);
11591158
tarball.add_legal_and_readme_to("share/doc/clippy");
@@ -1251,7 +1250,6 @@ impl Step for Rustfmt {
12511250
.expect("cargo fmt expected to build - essential tool");
12521251
let mut tarball = Tarball::new(builder, "rustfmt", &target.triple);
12531252
tarball.set_overlay(OverlayKind::Rustfmt);
1254-
tarball.is_preview(true);
12551253
tarball.add_file(rustfmt, "bin", 0o755);
12561254
tarball.add_file(cargofmt, "bin", 0o755);
12571255
tarball.add_legal_and_readme_to("share/doc/rustfmt");

src/tools/build-manifest/src/versions.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ pkg_type! {
4949
Cargo = "cargo",
5050
HtmlDocs = "rust-docs",
5151
RustAnalysis = "rust-analysis",
52+
Clippy = "clippy",
53+
Rustfmt = "rustfmt",
5254
Rls = "rls"; preview = true,
5355
RustAnalyzer = "rust-analyzer"; preview = true,
54-
Clippy = "clippy"; preview = true,
55-
Rustfmt = "rustfmt"; preview = true,
5656
LlvmTools = "llvm-tools"; preview = true,
5757
Miri = "miri"; preview = true,
5858
JsonDocs = "rust-docs-json"; preview = true,

0 commit comments

Comments
 (0)