about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorSebastien Marie <semarie@online.fr>2019-12-27 05:32:11 +0000
committerSebastien Marie <semarie@online.fr>2019-12-27 05:32:11 +0000
commitb817a68391bbd3cfe5285457d61111500afeb158 (patch)
tree1476be1b3d20f3e26b419271bfb90c11dcd52e06 /src/bootstrap
parenta04c789f699a3470edd8cc76d016c68e99cfe4db (diff)
downloadrust-b817a68391bbd3cfe5285457d61111500afeb158.tar.gz
rust-b817a68391bbd3cfe5285457d61111500afeb158.zip
allow rustfmt key in [build] section
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/config.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs
index 11bfc7a47cc..4fdfb744f38 100644
--- a/src/bootstrap/config.rs
+++ b/src/bootstrap/config.rs
@@ -201,6 +201,7 @@ struct Build {
     target: Vec<String>,
     cargo: Option<String>,
     rustc: Option<String>,
+    rustfmt: Option<String>, /* allow bootstrap.py to use rustfmt key */
     docs: Option<bool>,
     compiler_docs: Option<bool>,
     submodules: Option<bool>,