Skip to content

Commit 97d21e2

Browse files
committed
review changes
1 parent 63d854a commit 97d21e2

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/bootstrap/dist.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ impl Step for Rustfmt {
11611161
// Prepare the image directory
11621162
// We expect RLS to build, because we've exited this step above if tool
11631163
// state for RLS isn't testing.
1164-
let rustfmt = builder.ensure(tool::Rls {
1164+
let rustfmt = builder.ensure(tool::Rustfmt {
11651165
compiler: builder.compiler(stage, build.build),
11661166
target
11671167
}).expect("Rustfmt to build: toolstate is testing");

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

-4
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,6 @@ impl Builder {
280280
if rls_present {
281281
manifest.renames.insert("rls".to_owned(), Rename { to: "rls-preview".to_owned() });
282282
}
283-
if rustfmt_present {
284-
manifest.renames.insert("rustfmt".to_owned(),
285-
Rename { to: "rustfmt-preview".to_owned() });
286-
}
287283

288284
let mut pkg = Package {
289285
version: self.cached_version("rust")

0 commit comments

Comments
 (0)