Skip to content

Commit

Permalink
Allow installing rustfmt without config.extended
Browse files Browse the repository at this point in the history
This assertion was preventing `./x.py install rustfmt` if attempted
without an "extended" build configuration, but it actually builds and
installs just fine.
  • Loading branch information
cuviper committed Mar 23, 2018
1 parent b176285 commit 86f7d89
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,6 @@ impl Step for Rustfmt {
let build = builder.build;
let stage = self.stage;
let target = self.target;
assert!(build.config.extended);

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

0 comments on commit 86f7d89

Please sign in to comment.