Skip to content

Commit

Permalink
Rollup merge of rust-lang#122297 - RalfJung:bootstrap-build, r=onur-o…
Browse files Browse the repository at this point in the history
…zkan

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 00c7ef8 + 89ed992 commit c770ce4
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 c770ce4

Please sign in to comment.