Skip to content

Commit 7c2752a

Browse files
committed
rustbuild: support setting verbosity in config.toml
Signed-off-by: Marc-Antoine Perennou <[email protected]>
1 parent 324b175 commit 7c2752a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bootstrap/config.rs

+2
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ struct Build {
148148
python: Option<String>,
149149
full_bootstrap: Option<bool>,
150150
extended: Option<bool>,
151+
verbose: Option<usize>,
151152
}
152153

153154
/// TOML representation of various global install decisions.
@@ -292,6 +293,7 @@ impl Config {
292293
set(&mut config.vendor, build.vendor);
293294
set(&mut config.full_bootstrap, build.full_bootstrap);
294295
set(&mut config.extended, build.extended);
296+
set(&mut config.verbose, build.verbose);
295297

296298
if let Some(ref install) = toml.install {
297299
config.prefix = install.prefix.clone().map(PathBuf::from);

0 commit comments

Comments
 (0)