diff options
| author | Dennis Schridde <devurandom@gmx.net> | 2017-05-24 09:10:15 +0200 |
|---|---|---|
| committer | Dennis Schridde <devurandom@gmx.net> | 2017-05-24 10:52:57 +0200 |
| commit | 604f716dbe8f5aac191d4208cf53e31fd241011e (patch) | |
| tree | abb5aff2c5a606425fd358ebd0692a2df34a8741 /src/bootstrap/bootstrap.py | |
| parent | 2aa6700b25a6979826020aef087d6611a1aab40a (diff) | |
| download | rust-604f716dbe8f5aac191d4208cf53e31fd241011e.tar.gz rust-604f716dbe8f5aac191d4208cf53e31fd241011e.zip | |
bootstrap: Make bootstrap verbose if requested
Fixes: #42099
Diffstat (limited to 'src/bootstrap/bootstrap.py')
| -rw-r--r-- | src/bootstrap/bootstrap.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 871c101511e..e3e1b086288 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -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: |
