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 101631d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bootstrap/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,11 @@ pub struct Build {
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 101631d

Please sign in to comment.