about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/bootstrap/bootstrap.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py
index 98e62f00110..9c6c917ac4a 100644
--- a/src/bootstrap/bootstrap.py
+++ b/src/bootstrap/bootstrap.py
@@ -211,8 +211,9 @@ def default_build_triple(verbose):
     default_encoding = sys.getdefaultencoding()
 
     if sys.platform == 'darwin':
-        print("not using rustc detection as it is unreliable on macOS")
-        print("falling back to auto-detect")
+        if verbose:
+            print("not using rustc detection as it is unreliable on macOS")
+            print("falling back to auto-detect")
     else:
         try:
             version = subprocess.check_output(["rustc", "--version", "--verbose"],