@@ -893,21 +893,25 @@ impl Config {
893
893
let default = config. channel == "dev" ;
894
894
config. omit_git_hash = rust_omit_git_hash. unwrap_or ( default) ;
895
895
896
- config. rust_info = config . git_info ( config. omit_git_hash , & config. src ) ;
896
+ config. rust_info = git_info ( & config . exec_ctx , config. omit_git_hash , & config. src ) ;
897
897
config. cargo_info =
898
- config. git_info ( config. omit_git_hash , & config. src . join ( "src/tools/cargo" ) ) ;
899
- config. rust_analyzer_info =
900
- config. git_info ( config. omit_git_hash , & config. src . join ( "src/tools/rust-analyzer" ) ) ;
898
+ git_info ( & config. exec_ctx , config. omit_git_hash , & config. src . join ( "src/tools/cargo" ) ) ;
899
+ config. rust_analyzer_info = git_info (
900
+ & config. exec_ctx ,
901
+ config. omit_git_hash ,
902
+ & config. src . join ( "src/tools/rust-analyzer" ) ,
903
+ ) ;
901
904
config. clippy_info =
902
- config . git_info ( config. omit_git_hash , & config. src . join ( "src/tools/clippy" ) ) ;
905
+ git_info ( & config . exec_ctx , config. omit_git_hash , & config. src . join ( "src/tools/clippy" ) ) ;
903
906
config. miri_info =
904
- config . git_info ( config. omit_git_hash , & config. src . join ( "src/tools/miri" ) ) ;
907
+ git_info ( & config . exec_ctx , config. omit_git_hash , & config. src . join ( "src/tools/miri" ) ) ;
905
908
config. rustfmt_info =
906
- config . git_info ( config. omit_git_hash , & config. src . join ( "src/tools/rustfmt" ) ) ;
909
+ git_info ( & config . exec_ctx , config. omit_git_hash , & config. src . join ( "src/tools/rustfmt" ) ) ;
907
910
config. enzyme_info =
908
- config. git_info ( config. omit_git_hash , & config. src . join ( "src/tools/enzyme" ) ) ;
909
- config. in_tree_llvm_info = config. git_info ( false , & config. src . join ( "src/llvm-project" ) ) ;
910
- config. in_tree_gcc_info = config. git_info ( false , & config. src . join ( "src/gcc" ) ) ;
911
+ git_info ( & config. exec_ctx , config. omit_git_hash , & config. src . join ( "src/tools/enzyme" ) ) ;
912
+ config. in_tree_llvm_info =
913
+ git_info ( & config. exec_ctx , false , & config. src . join ( "src/llvm-project" ) ) ;
914
+ config. in_tree_gcc_info = git_info ( & config. exec_ctx , false , & config. src . join ( "src/gcc" ) ) ;
911
915
912
916
config. vendor = build_vendor. unwrap_or (
913
917
config. rust_info . is_from_tarball ( )
0 commit comments