about summary refs log tree commit diff
path: root/src/bootstrap/bootstrap.py
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-10-18 08:13:25 +0200
committerGitHub <noreply@github.com>2021-10-18 08:13:25 +0200
commitb902aa98e580c43ea5b2bb7b15d56ecc02c17856 (patch)
treec4df0bffd0916735bbe70bd5f343c56969ce4ec6 /src/bootstrap/bootstrap.py
parent5e02151318ddd431aea6d58e23948246c1446044 (diff)
parentd78559ac1192553c3bda717a00f2887943144719 (diff)
downloadrust-b902aa98e580c43ea5b2bb7b15d56ecc02c17856.tar.gz
rust-b902aa98e580c43ea5b2bb7b15d56ecc02c17856.zip
Rollup merge of #89950 - infinity0:master, r=Mark-Simulacrum
bootstrap: tweak verbosity settings

Currently the verbosity settings are:
- 2: RUSTC-SHIM envvars get spammed on every invocation, O(30) lines
     cargo is passed -v which outputs CLI invocations, O(5) lines
- 3: cargo is passed -vv which outputs build script output, O(0-10) lines

This commit changes it to:

- 1: cargo is passed -v, O(5) lines
- 2: cargo is passed -vv, O(10) lines
- 3: RUSTC-SHIM envvars get spammed, O(30) lines
Diffstat (limited to 'src/bootstrap/bootstrap.py')
-rw-r--r--src/bootstrap/bootstrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py
index dc1447b4ae4..0c5a0cbc06e 100644
--- a/src/bootstrap/bootstrap.py
+++ b/src/bootstrap/bootstrap.py
@@ -980,7 +980,7 @@ class RustBuild(object):
                 self.cargo()))
         args = [self.cargo(), "build", "--manifest-path",
                 os.path.join(self.rust_root, "src/bootstrap/Cargo.toml")]
-        for _ in range(1, self.verbose):
+        for _ in range(0, self.verbose):
             args.append("--verbose")
         if self.use_locked_deps:
             args.append("--locked")