about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-10 22:16:44 +0100
committerGitHub <noreply@github.com>2024-03-10 22:16:44 +0100
commit2a3a8dbdbf381faeb303bd904b6328a352e763af (patch)
treecc1f56c8aee539b0c460c32dcd0b6b67afca610e /src
parentc4b159c4a0d14a94e039e0f5865ead99798b701d (diff)
parent89ed992d86a77c27dc0a05488d00567b3f8b7024 (diff)
downloadrust-2a3a8dbdbf381faeb303bd904b6328a352e763af.tar.gz
rust-2a3a8dbdbf381faeb303bd904b6328a352e763af.zip
Rollup merge of #122297 - RalfJung:bootstrap-build, r=onur-ozkan
bootstrap: document what the triples in 'Build' mean

Thanks to ``@onur-ozkan``  for pointing this out to me.
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap/src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bootstrap/src/lib.rs b/src/bootstrap/src/lib.rs
index a252aaac97d..10c13fecbf3 100644
--- a/src/bootstrap/src/lib.rs
+++ b/src/bootstrap/src/lib.rs
@@ -171,9 +171,11 @@ pub struct Build {
     doc_tests: DocTests,
     verbosity: usize,
 
-    // Targets for which to build
+    /// Build triple for the pre-compiled snapshot compiler.
     build: TargetSelection,
+    /// Which triples to produce a compiler toolchain for.
     hosts: Vec<TargetSelection>,
+    /// Which triples to build libraries (core/alloc/std/test/proc_macro) for.
     targets: Vec<TargetSelection>,
 
     initial_rustc: PathBuf,