about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Kelly <johnharrykelly@gmail.com>2023-04-27 20:55:36 +0100
committerJohn Kelly <johnharrykelly@gmail.com>2023-04-27 20:55:36 +0100
commitcffc10b2c82f97e45121710af7ddf617e177b5e7 (patch)
tree247899a8a1101d8c0257dbbc9d03e24bfb5fda19
parent1b390f44cfefa3a83af6056f136964e24c22af66 (diff)
downloadrust-cffc10b2c82f97e45121710af7ddf617e177b5e7.tar.gz
rust-cffc10b2c82f97e45121710af7ddf617e177b5e7.zip
Comment round #1
-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"],