@@ -585,8 +585,8 @@ impl Build {
585585 BootstrapCommand :: from ( submodule_git ( ) . args ( [ "diff-index" , "--quiet" , "HEAD" ] ) )
586586 . allow_failure ( )
587587 . output_mode ( match self . is_verbose ( ) {
588- true => OutputMode :: PrintAll ,
589- false => OutputMode :: PrintOutput ,
588+ true => OutputMode :: All ,
589+ false => OutputMode :: OnlyOutput ,
590590 } ) ,
591591 ) ;
592592 if has_local_modifications {
@@ -967,15 +967,15 @@ impl Build {
967967 self . verbose ( || println ! ( "running: {command:?}" ) ) ;
968968
969969 let output_mode = command. output_mode . unwrap_or_else ( || match self . is_verbose ( ) {
970- true => OutputMode :: PrintAll ,
971- false => OutputMode :: PrintOutput ,
970+ true => OutputMode :: All ,
971+ false => OutputMode :: OnlyOutput ,
972972 } ) ;
973973 let ( output, print_error) : ( io:: Result < CommandOutput > , bool ) = match output_mode {
974- mode @ ( OutputMode :: PrintAll | OutputMode :: PrintOutput ) => (
974+ mode @ ( OutputMode :: All | OutputMode :: OnlyOutput ) => (
975975 command. command . status ( ) . map ( |status| status. into ( ) ) ,
976- matches ! ( mode, OutputMode :: PrintAll ) ,
976+ matches ! ( mode, OutputMode :: All ) ,
977977 ) ,
978- OutputMode :: PrintOnFailure => ( command. command . output ( ) . map ( |o| o. into ( ) ) , true ) ,
978+ OutputMode :: OnlyOnFailure => ( command. command . output ( ) . map ( |o| o. into ( ) ) , true ) ,
979979 } ;
980980
981981 let output = match output {
@@ -1026,8 +1026,8 @@ impl Build {
10261026 fn run ( & self , cmd : & mut Command ) {
10271027 self . run_cmd ( BootstrapCommand :: from ( cmd) . fail_fast ( ) . output_mode (
10281028 match self . is_verbose ( ) {
1029- true => OutputMode :: PrintAll ,
1030- false => OutputMode :: PrintOutput ,
1029+ true => OutputMode :: All ,
1030+ false => OutputMode :: OnlyOutput ,
10311031 } ,
10321032 ) ) ;
10331033 }
0 commit comments