about summary refs log tree commit diff
path: root/src/bootstrap/bootstrap.py
diff options
context:
space:
mode:
authorbinarycat <binarycat@envs.net>2025-09-15 14:42:44 -0500
committerbinarycat <binarycat@envs.net>2025-09-15 14:42:44 -0500
commit29ca09be09a88f359adc7879e2592f36f6c74a64 (patch)
treee7fd93102ad99365cfeb3e41ab1562da9159c1bc /src/bootstrap/bootstrap.py
parent52618eb338609df44978b0ca4451ab7941fd1c7a (diff)
downloadrust-29ca09be09a88f359adc7879e2592f36f6c74a64.tar.gz
rust-29ca09be09a88f359adc7879e2592f36f6c74a64.zip
bootstrap: lower verbosity of cargo to one less than bootstrap's
the main thing this does is eliminate the "Fresh ..." output when
`--verbose` is only passed once.
Diffstat (limited to 'src/bootstrap/bootstrap.py')
-rw-r--r--src/bootstrap/bootstrap.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py
index 2ece53eb0cc..41c8ef17f0b 100644
--- a/src/bootstrap/bootstrap.py
+++ b/src/bootstrap/bootstrap.py
@@ -1145,7 +1145,8 @@ class RustBuild(object):
             os.path.join(self.rust_root, "src/bootstrap/Cargo.toml"),
             "-Zroot-dir=" + self.rust_root,
         ]
-        args.extend("--verbose" for _ in range(self.verbose))
+        # verbose cargo output is very noisy, so only enable it with -vv
+        args.extend("--verbose" for _ in range(self.verbose - 1))
 
         if "BOOTSTRAP_TRACING" in env:
             args.append("--features=tracing")