rustbuild: support setting verbosity in config.toml
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
This commit is contained in:
parent
324b175174
commit
7c2752a95b
1 changed files with 2 additions and 0 deletions
|
@ -148,6 +148,7 @@ struct Build {
|
|||
python: Option<String>,
|
||||
full_bootstrap: Option<bool>,
|
||||
extended: Option<bool>,
|
||||
verbose: Option<usize>,
|
||||
}
|
||||
|
||||
/// TOML representation of various global install decisions.
|
||||
|
@ -292,6 +293,7 @@ impl Config {
|
|||
set(&mut config.vendor, build.vendor);
|
||||
set(&mut config.full_bootstrap, build.full_bootstrap);
|
||||
set(&mut config.extended, build.extended);
|
||||
set(&mut config.verbose, build.verbose);
|
||||
|
||||
if let Some(ref install) = toml.install {
|
||||
config.prefix = install.prefix.clone().map(PathBuf::from);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue