Skip to content

Commit

Permalink
Rollup merge of #122297 - RalfJung:bootstrap-build, r=onur-ozkan
Browse files Browse the repository at this point in the history
bootstrap: document what the triples in 'Build' mean

Thanks to ``@onur-ozkan``  for pointing this out to me.
  • Loading branch information
matthiaskrgr authored Mar 10, 2024
2 parents c4b159c + 89ed992 commit 2a3a8db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bootstrap/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2a3a8db

Please sign in to comment.