@@ -141,7 +141,7 @@ impl Step for Std {
141141 if builder. config . keep_stage . contains ( & compiler. stage )
142142 || builder. config . keep_stage_std . contains ( & compiler. stage )
143143 {
144- builder. info ( "Warning : Using a potentially old libstd. This may not behave well." ) ;
144+ builder. info ( "WARNING : Using a potentially old libstd. This may not behave well." ) ;
145145
146146 copy_third_party_objects ( builder, & compiler, target) ;
147147 copy_self_contained_objects ( builder, & compiler, target) ;
@@ -817,8 +817,8 @@ impl Step for Rustc {
817817 builder. ensure ( Std :: new ( compiler, target) ) ;
818818
819819 if builder. config . keep_stage . contains ( & compiler. stage ) {
820- builder. info ( "Warning : Using a potentially old librustc. This may not behave well." ) ;
821- builder. info ( "Warning : Use `--keep-stage-std` if you want to rebuild the compiler when it changes" ) ;
820+ builder. info ( "WARNING : Using a potentially old librustc. This may not behave well." ) ;
821+ builder. info ( "WARNING : Use `--keep-stage-std` if you want to rebuild the compiler when it changes" ) ;
822822 builder. ensure ( RustcLink :: from_rustc ( self , compiler) ) ;
823823 return ;
824824 }
@@ -1203,8 +1203,8 @@ fn is_codegen_cfg_needed(path: &TaskPath, run: &RunConfig<'_>) -> bool {
12031203 }
12041204 if needs_codegen_backend_config {
12051205 run. builder . info (
1206- "Warning : no codegen-backends config matched the requested path to build a codegen backend. \
1207- Help : add backend to codegen-backends in config.toml.",
1206+ "WARNING : no codegen-backends config matched the requested path to build a codegen backend. \
1207+ HELP : add backend to codegen-backends in config.toml.",
12081208 ) ;
12091209 return true ;
12101210 }
@@ -1250,7 +1250,7 @@ impl Step for CodegenBackend {
12501250
12511251 if builder. config . keep_stage . contains ( & compiler. stage ) {
12521252 builder. info (
1253- "Warning : Using a potentially old codegen backend. \
1253+ "WARNING : Using a potentially old codegen backend. \
12541254 This may not behave well.",
12551255 ) ;
12561256 // Codegen backends are linked separately from this step today, so we don't do
@@ -1525,14 +1525,14 @@ impl Step for Sysroot {
15251525 let sysroot_lib_rustlib_src_rust = sysroot_lib_rustlib_src. join ( "rust" ) ;
15261526 if let Err ( e) = symlink_dir ( & builder. config , & builder. src , & sysroot_lib_rustlib_src_rust) {
15271527 eprintln ! (
1528- "warning : creating symbolic link `{}` to `{}` failed with {}" ,
1528+ "WARNING : creating symbolic link `{}` to `{}` failed with {}" ,
15291529 sysroot_lib_rustlib_src_rust. display( ) ,
15301530 builder. src. display( ) ,
15311531 e,
15321532 ) ;
15331533 if builder. config . rust_remap_debuginfo {
15341534 eprintln ! (
1535- "warning : some `tests/ui` tests will fail when lacking `{}`" ,
1535+ "WARNING : some `tests/ui` tests will fail when lacking `{}`" ,
15361536 sysroot_lib_rustlib_src_rust. display( ) ,
15371537 ) ;
15381538 }
@@ -1545,7 +1545,7 @@ impl Step for Sysroot {
15451545 symlink_dir ( & builder. config , & builder. src , & sysroot_lib_rustlib_rustcsrc_rust)
15461546 {
15471547 eprintln ! (
1548- "warning : creating symbolic link `{}` to `{}` failed with {}" ,
1548+ "WARNING : creating symbolic link `{}` to `{}` failed with {}" ,
15491549 sysroot_lib_rustlib_rustcsrc_rust. display( ) ,
15501550 builder. src. display( ) ,
15511551 e,
@@ -1986,7 +1986,7 @@ pub fn stream_cargo(
19861986 builder. verbose ( & format ! ( "running: {cargo:?}" ) ) ;
19871987 let mut child = match cargo. spawn ( ) {
19881988 Ok ( child) => child,
1989- Err ( e) => panic ! ( "failed to execute command: {cargo:?}\n error : {e}" ) ,
1989+ Err ( e) => panic ! ( "failed to execute command: {cargo:?}\n ERROR : {e}" ) ,
19901990 } ;
19911991
19921992 // Spawn Cargo slurping up its JSON output. We'll start building up the
@@ -2050,7 +2050,7 @@ pub fn strip_debug(builder: &Builder<'_>, target: TargetSelection, path: &Path)
20502050 }
20512051
20522052 let previous_mtime = FileTime :: from_last_modification_time ( & path. metadata ( ) . unwrap ( ) ) ;
2053- // Note : `output` will propagate any errors here.
2053+ // NOTE : `output` will propagate any errors here.
20542054 output ( Command :: new ( "strip" ) . arg ( "--strip-debug" ) . arg ( path) ) ;
20552055
20562056 // After running `strip`, we have to set the file modification time to what it was before,
0 commit comments