Skip to content

Commit 86f7d89

Browse files
committed
Allow installing rustfmt without config.extended
This assertion was preventing `./x.py install rustfmt` if attempted without an "extended" build configuration, but it actually builds and installs just fine.
1 parent b176285 commit 86f7d89

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/bootstrap/dist.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,6 @@ impl Step for Rustfmt {
11861186
let build = builder.build;
11871187
let stage = self.stage;
11881188
let target = self.target;
1189-
assert!(build.config.extended);
11901189

11911190
println!("Dist Rustfmt stage{} ({})", stage, target);
11921191
let src = build.src.join("src/tools/rustfmt");

0 commit comments

Comments
 (0)