about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-03-10 16:54:30 +0100
committerRalf Jung <post@ralfj.de>2024-03-10 17:14:28 +0100
commit89ed992d86a77c27dc0a05488d00567b3f8b7024 (patch)
tree1b2f54b5b05a502ea1177a1de6174a0c8b3dd45e
parentcdb775cab50311de54ccf3a07b331cc56b0da436 (diff)
downloadrust-89ed992d86a77c27dc0a05488d00567b3f8b7024.tar.gz
rust-89ed992d86a77c27dc0a05488d00567b3f8b7024.zip
bootstrap: document what the triples in 'Build' mean
-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,