@@ -175,7 +175,9 @@ pub struct Build {
175
175
lldb_python_dir : Option < String > ,
176
176
177
177
// Runtime state filled in later on
178
+ // target -> (cc, ar)
178
179
cc : HashMap < String , ( gcc:: Tool , Option < PathBuf > ) > ,
180
+ // host -> (cc, ar)
179
181
cxx : HashMap < String , gcc:: Tool > ,
180
182
crates : HashMap < String , Crate > ,
181
183
is_sudo : bool ,
@@ -202,20 +204,16 @@ struct Crate {
202
204
/// build system, with each mod generating output in a different directory.
203
205
#[ derive( Clone , Copy , PartialEq , Eq ) ]
204
206
pub enum Mode {
205
- /// This cargo is going to build the standard library, placing output in the
206
- /// "stageN-std" directory.
207
+ /// Build the standard library, placing output in the "stageN-std" directory.
207
208
Libstd ,
208
209
209
- /// This cargo is going to build libtest, placing output in the
210
- /// "stageN-test" directory.
210
+ /// Build libtest, placing output in the "stageN-test" directory.
211
211
Libtest ,
212
212
213
- /// This cargo is going to build librustc and compiler libraries, placing
214
- /// output in the "stageN-rustc" directory.
213
+ /// Build librustc and compiler libraries, placing output in the "stageN-rustc" directory.
215
214
Librustc ,
216
215
217
- /// This cargo is going to build some tool, placing output in the
218
- /// "stageN-tools" directory.
216
+ /// Build some tool, placing output in the "stageN-tools" directory.
219
217
Tool ,
220
218
}
221
219
0 commit comments