@@ -211,7 +211,7 @@ pub enum Mode {
211
211
/// output in the "stageN-rustc" directory.
212
212
Librustc ,
213
213
214
- /// This cargo is going to some build tool, placing output in the
214
+ /// This cargo is going to build some tool, placing output in the
215
215
/// "stageN-tools" directory.
216
216
Tool ,
217
217
}
@@ -424,7 +424,7 @@ impl Build {
424
424
. env ( "RUSTC_SNAPSHOT_LIBDIR" , self . rustc_libdir ( compiler) ) ;
425
425
}
426
426
427
- // There are two invariants we try must maintain:
427
+ // There are two invariants we must maintain:
428
428
// * stable crates cannot depend on unstable crates (general Rust rule),
429
429
// * crates that end up in the sysroot must be unstable (rustbuild rule).
430
430
//
@@ -438,7 +438,7 @@ impl Build {
438
438
// feature and opt-in to `rustc_private`.
439
439
//
440
440
// We can't always pass `rustbuild` because crates which are outside of
441
- // the comipiler , libs, and tests are stable and we don't want to make
441
+ // the compiler , libs, and tests are stable and we don't want to make
442
442
// their deps unstable (since this would break the first invariant
443
443
// above).
444
444
//
@@ -448,7 +448,7 @@ impl Build {
448
448
}
449
449
450
450
// Ignore incremental modes except for stage0, since we're
451
- // not guaranteeing correctness acros builds if the compiler
451
+ // not guaranteeing correctness across builds if the compiler
452
452
// is changing under your feet.`
453
453
if self . flags . incremental && compiler. stage == 0 {
454
454
let incr_dir = self . incremental_dir ( compiler) ;
@@ -489,7 +489,7 @@ impl Build {
489
489
cargo. env_remove ( "MAKEFLAGS" ) ;
490
490
}
491
491
492
- // Environment variables *required* needed throughout the build
492
+ // Environment variables *required* throughout the build
493
493
//
494
494
// FIXME: should update code to not require this env var
495
495
cargo. env ( "CFG_COMPILER_HOST_TRIPLE" , target) ;
@@ -647,7 +647,7 @@ impl Build {
647
647
}
648
648
649
649
/// Returns the root output directory for all Cargo output in a given stage,
650
- /// running a particular comipler , wehther or not we're building the
650
+ /// running a particular compiler , wehther or not we're building the
651
651
/// standard library, and targeting the specified architecture.
652
652
fn cargo_out ( & self ,
653
653
compiler : & Compiler ,
0 commit comments