about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2018-03-22 18:31:32 -0700
committerJosh Stone <jistone@redhat.com>2018-03-22 18:31:32 -0700
commit86f7d8939d19d42e21d4e794e648f0aef14eeec9 (patch)
tree3dd01219eb41f754b5d45560978c64ae3fdf3555 /src/bootstrap
parentb176285ba775f86301040fc624acb96b4499f562 (diff)
downloadrust-86f7d8939d19d42e21d4e794e648f0aef14eeec9.tar.gz
rust-86f7d8939d19d42e21d4e794e648f0aef14eeec9.zip
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.
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/dist.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
index eca06eac7f3..142296b2095 100644
--- a/src/bootstrap/dist.rs
+++ b/src/bootstrap/dist.rs
@@ -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");