about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-03-25 01:26:44 +0800
committerGitHub <noreply@github.com>2018-03-25 01:26:44 +0800
commit177e20de322d03a6da426b83458f7e92d47d6fc5 (patch)
tree216441288e2a3e747eb8f4128e86abcbf030752f /src/bootstrap
parent924f24a6c46ae4e586abd6b79a026119855595da (diff)
parent86f7d8939d19d42e21d4e794e648f0aef14eeec9 (diff)
downloadrust-177e20de322d03a6da426b83458f7e92d47d6fc5.tar.gz
rust-177e20de322d03a6da426b83458f7e92d47d6fc5.zip
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.
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 873579d0788..23b7b265a94 100644
--- a/src/bootstrap/dist.rs
+++ b/src/bootstrap/dist.rs
@@ -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");