diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-01-03 17:56:23 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-03 17:56:23 +0900 |
| commit | 9dd2c9eae3c08c4742e84204243b70db4210a78c (patch) | |
| tree | 44ea4c60b0223e32a8e0b9c029e843594f873701 /src/bootstrap | |
| parent | 76c1454d27440dd6783bcc81b8558510a18130bf (diff) | |
| parent | 98d8326cfc0b20b20d161fe2830bcfe2072cfdfd (diff) | |
| download | rust-9dd2c9eae3c08c4742e84204243b70db4210a78c.tar.gz rust-9dd2c9eae3c08c4742e84204243b70db4210a78c.zip | |
Rollup merge of #67636 - semarie:bootstrap-rustfmt, r=Mark-Simulacrum
allow rustfmt key in [build] section Permit using `rustfmt` in `config.toml`. It will allow to not download `rustfmt` binary, which is not possible for at least some tiers-3 platforms. Fixes: #67624 r? @Mark-Simulacrum
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/config.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs index ed65a606ff5..944df66431f 100644 --- a/src/bootstrap/config.rs +++ b/src/bootstrap/config.rs @@ -203,6 +203,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>, |
