about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorDennis Schridde <devurandom@gmx.net>2017-05-24 09:10:15 +0200
committerDennis Schridde <devurandom@gmx.net>2017-05-24 10:52:57 +0200
commit604f716dbe8f5aac191d4208cf53e31fd241011e (patch)
treeabb5aff2c5a606425fd358ebd0692a2df34a8741 /src/bootstrap
parent2aa6700b25a6979826020aef087d6611a1aab40a (diff)
downloadrust-604f716dbe8f5aac191d4208cf53e31fd241011e.tar.gz
rust-604f716dbe8f5aac191d4208cf53e31fd241011e.zip
bootstrap: Make bootstrap verbose if requested
Fixes: #42099
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/bootstrap.py4
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: