@@ -25,7 +25,7 @@ use crate::core::builder::{Builder, Compiler, Kind, RunConfig, ShouldRun, Step};
2525use crate :: core:: config:: flags:: get_completion;
2626use crate :: core:: config:: flags:: Subcommand ;
2727use crate :: core:: config:: TargetSelection ;
28- use crate :: utils:: exec:: { command, BootstrapCommand } ;
28+ use crate :: utils:: exec:: { command, force_coloring_in_ci , BootstrapCommand } ;
2929use crate :: utils:: helpers:: {
3030 self , add_link_lib_path, add_rustdoc_cargo_linker_args, dylib_path, dylib_path_var,
3131 linker_args, linker_flags, t, target_supports_cranelift_backend, up_to_date, LldThreads ,
@@ -2095,8 +2095,7 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the
20952095 cmd. arg ( "--git-repository" ) . arg ( git_config. git_repository ) ;
20962096 cmd. arg ( "--nightly-branch" ) . arg ( git_config. nightly_branch ) ;
20972097
2098- // FIXME: Move CiEnv back to bootstrap, it is only used here anyway
2099- builder. ci_env . force_coloring_in_ci ( cmd. as_command_mut ( ) ) ;
2098+ force_coloring_in_ci ( builder. ci_env , & mut cmd) ;
21002099
21012100 #[ cfg( feature = "build-metrics" ) ]
21022101 builder. metrics . begin_test_suite (
0 commit comments