Skip to content

Commit 604f716

Browse files
committed
bootstrap: Make bootstrap verbose if requested
Fixes: rust-lang#42099
1 parent 2aa6700 commit 604f716

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/bootstrap.py

+4
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,10 @@ def build_bootstrap(self):
385385
raise Exception("no cargo executable found at `%s`" % self.cargo())
386386
args = [self.cargo(), "build", "--manifest-path",
387387
os.path.join(self.rust_root, "src/bootstrap/Cargo.toml")]
388+
if self.verbose:
389+
args.append("--verbose")
390+
if self.verbose > 1:
391+
args.append("--verbose")
388392
if self.use_locked_deps:
389393
args.append("--locked")
390394
if self.use_vendored_sources:

0 commit comments

Comments
 (0)