Skip to content

Commit 8a6f54f

Browse files
committed
Use more accurate wording in bootstrap.py logging
1 parent 3b263ce commit 8a6f54f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/bootstrap/bootstrap.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,11 @@ def default_build_triple(verbose):
189189
host = next(x for x in version.split('\n') if x.startswith("host: "))
190190
triple = host.split("host: ")[1]
191191
if verbose:
192-
print("detected default triple {}".format(triple))
192+
print("detected default triple {} from pre-installed rustc".format(triple))
193193
return triple
194194
except Exception as e:
195195
if verbose:
196-
print("rustup not detected: {}".format(e))
196+
print("pre-installed rustc not detected: {}".format(e))
197197
print("falling back to auto-detect")
198198

199199
required = sys.platform != 'win32'
@@ -727,11 +727,11 @@ def maybe_download_ci_toolchain(self):
727727
if status != 0:
728728
if download_rustc == "if-unchanged":
729729
return None
730-
print("warning: `download-rustc` is enabled, but there are changes to \
731-
compiler/ or library/")
730+
print("warning: `download-rustc` is enabled, but there are changes to " \
731+
"compiler/ or library/")
732732

733733
if self.verbose:
734-
print("using downloaded stage1 artifacts from CI (commit {})".format(commit))
734+
print("using downloaded stage2 artifacts from CI (commit {})".format(commit))
735735
self.rustc_commit = commit
736736
# FIXME: support downloading artifacts from the beta channel
737737
self.download_toolchain(False, "nightly")

0 commit comments

Comments
 (0)