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.
This commit is contained in:
Matthias Krüger 2024-03-10 22:16:44 +01:00 committed by GitHub
commit 2a3a8dbdbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,