Skip to content

Commit 41653fd

Browse files
authored
Rollup merge of #39587 - Keruspe:master, r=alexcrichton
rustbuild: support setting verbosity in config.toml Most if not all the configuration is settable trhough config.toml but the verbosity isn't yet. This avoids having to pass -v to x.py on each command if you want verbosity to be always on.
2 parents 24a70eb + ec73ef9 commit 41653fd

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/bootstrap/config.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ struct Build {
150150
python: Option<String>,
151151
full_bootstrap: Option<bool>,
152152
extended: Option<bool>,
153+
verbose: Option<usize>,
153154
sanitizers: Option<bool>,
154155
}
155156

@@ -296,6 +297,7 @@ impl Config {
296297
set(&mut config.vendor, build.vendor);
297298
set(&mut config.full_bootstrap, build.full_bootstrap);
298299
set(&mut config.extended, build.extended);
300+
set(&mut config.verbose, build.verbose);
299301
set(&mut config.sanitizers, build.sanitizers);
300302

301303
if let Some(ref install) = toml.install {

src/bootstrap/config.toml.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@
124124
# disabled by default.
125125
#extended = false
126126

127+
# Verbosity level: 0 == not verbose, 1 == verbose, 2 == very verbose
128+
#verbose = 0
129+
127130
# Build the sanitizer runtimes
128131
#sanitizers = false
129132

0 commit comments

Comments
 (0)