Skip to content

Commit 101631d

Browse files
committed
bootstrap: document what the triples in 'Build' mean
1 parent cdb775c commit 101631d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/src/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,11 @@ pub struct Build {
172172
verbosity: usize,
173173

174174
// Targets for which to build
175+
/// Build triple for the pre-compiled snapshot compiler.
175176
build: TargetSelection,
177+
/// Which triples to produce a compiler toolchain for.
176178
hosts: Vec<TargetSelection>,
179+
/// Which triples to build libraries (core/alloc/std/test/proc_macro) for.
177180
targets: Vec<TargetSelection>,
178181

179182
initial_rustc: PathBuf,

0 commit comments

Comments
 (0)