bootstrap: Make bootstrap verbose if requested

Fixes: #42099
This commit is contained in:
Dennis Schridde 2017-05-24 09:10:15 +02:00
parent 2aa6700b25
commit 604f716dbe
1 changed files with 4 additions and 0 deletions

View File

@ -385,6 +385,10 @@ class RustBuild(object):
raise Exception("no cargo executable found at `%s`" % self.cargo())
args = [self.cargo(), "build", "--manifest-path",
os.path.join(self.rust_root, "src/bootstrap/Cargo.toml")]
if self.verbose:
args.append("--verbose")
if self.verbose > 1:
args.append("--verbose")
if self.use_locked_deps:
args.append("--locked")
if self.use_vendored_sources: