From 89ed992d86a77c27dc0a05488d00567b3f8b7024 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 10 Mar 2024 16:54:30 +0100 Subject: [PATCH] bootstrap: document what the triples in 'Build' mean --- src/bootstrap/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bootstrap/src/lib.rs b/src/bootstrap/src/lib.rs index a252aaac97d74..10c13fecbf367 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, + /// Which triples to build libraries (core/alloc/std/test/proc_macro) for. targets: Vec, initial_rustc: PathBuf,