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
This commit is contained in:
commit
9dd2c9eae3
@ -138,6 +138,10 @@
|
||||
# specified, use this rustc binary instead as the stage0 snapshot compiler.
|
||||
#rustc = "/path/to/bin/rustc"
|
||||
|
||||
# Instead of download the src/stage0.txt version of rustfmt specified,
|
||||
# use this rustfmt binary instead as the stage0 snapshot rustfmt.
|
||||
#rustfmt = "/path/to/bin/rustfmt"
|
||||
|
||||
# Flag to specify whether any documentation is built. If false, rustdoc and
|
||||
# friends will still be compiled but they will not be used to generate any
|
||||
# documentation.
|
||||
|
@ -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>,
|
||||
|
Loading…
Reference in New Issue
Block a user