Rollup merge of #49290 - cuviper:unextended-dist-rustfmt, r=nikomatsakis

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.
This commit is contained in:
kennytm 2018-03-25 01:26:44 +08:00 committed by GitHub
commit 177e20de32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1241,7 +1241,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");