Skip to content

Commit

Permalink
bootstrap: document what the triples in 'Build' mean
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Mar 10, 2024
1 parent cdb775c commit 89ed992
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 89ed992

Please sign in to comment.