From cffc10b2c82f97e45121710af7ddf617e177b5e7 Mon Sep 17 00:00:00 2001 From: John Kelly Date: Thu, 27 Apr 2023 20:55:36 +0100 Subject: [PATCH] Comment round #1 --- src/bootstrap/bootstrap.py | 5 +++-- 1 file 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"],