Skip to content

Commit 49a4689

Browse files
authored
Unrolled build for rust-lang#122297
Rollup merge of rust-lang#122297 - RalfJung:bootstrap-build, r=onur-ozkan bootstrap: document what the triples in 'Build' mean Thanks to ``@onur-ozkan`` for pointing this out to me.
2 parents 3b1717c + 89ed992 commit 49a4689

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/bootstrap/src/lib.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,11 @@ pub struct Build {
171171
doc_tests: DocTests,
172172
verbosity: usize,
173173

174-
// Targets for which to build
174+
/// Build triple for the pre-compiled snapshot compiler.
175175
build: TargetSelection,
176+
/// Which triples to produce a compiler toolchain for.
176177
hosts: Vec<TargetSelection>,
178+
/// Which triples to build libraries (core/alloc/std/test/proc_macro) for.
177179
targets: Vec<TargetSelection>,
178180

179181
initial_rustc: PathBuf,

0 commit comments

Comments
 (0)