@@ -77,7 +77,7 @@ pub struct Config {
77
77
pub tools : Option < HashSet < String > > ,
78
78
pub sanitizers : bool ,
79
79
pub profiler : bool ,
80
- pub ignore_git : bool ,
80
+ pub omit_git_hash : bool ,
81
81
pub exclude : Vec < TaskPath > ,
82
82
pub include_default_paths : bool ,
83
83
pub rustc_error_format : Option < String > ,
@@ -755,7 +755,7 @@ define_config! {
755
755
verbose_tests: Option <bool > = "verbose-tests" ,
756
756
optimize_tests: Option <bool > = "optimize-tests" ,
757
757
codegen_tests: Option <bool > = "codegen-tests" ,
758
- ignore_git : Option <bool > = "ignore -git" ,
758
+ omit_git_hash : Option <bool > = "omit -git-hash " ,
759
759
dist_src: Option <bool > = "dist-src" ,
760
760
save_toolstates: Option <String > = "save-toolstates" ,
761
761
codegen_backends: Option <Vec <String >> = "codegen-backends" ,
@@ -1088,7 +1088,7 @@ impl Config {
1088
1088
let mut debuginfo_level_tools = None ;
1089
1089
let mut debuginfo_level_tests = None ;
1090
1090
let mut optimize = None ;
1091
- let mut ignore_git = None ;
1091
+ let mut omit_git_hash = None ;
1092
1092
1093
1093
if let Some ( rust) = toml. rust {
1094
1094
debug = rust. debug ;
@@ -1109,7 +1109,7 @@ impl Config {
1109
1109
. map ( |v| v. expect ( "invalid value for rust.split_debuginfo" ) )
1110
1110
. unwrap_or ( SplitDebuginfo :: default_for_platform ( & config. build . triple ) ) ;
1111
1111
optimize = rust. optimize ;
1112
- ignore_git = rust. ignore_git ;
1112
+ omit_git_hash = rust. omit_git_hash ;
1113
1113
config. rust_new_symbol_mangling = rust. new_symbol_mangling ;
1114
1114
set ( & mut config. rust_optimize_tests , rust. optimize_tests ) ;
1115
1115
set ( & mut config. codegen_tests , rust. codegen_tests ) ;
@@ -1166,8 +1166,8 @@ impl Config {
1166
1166
1167
1167
// rust_info must be set before is_ci_llvm_available() is called.
1168
1168
let default = config. channel == "dev" ;
1169
- config. ignore_git = ignore_git . unwrap_or ( default) ;
1170
- config. rust_info = GitInfo :: new ( config. ignore_git , & config. src ) ;
1169
+ config. omit_git_hash = omit_git_hash . unwrap_or ( default) ;
1170
+ config. rust_info = GitInfo :: new ( config. omit_git_hash , & config. src ) ;
1171
1171
1172
1172
if let Some ( llvm) = toml. llvm {
1173
1173
match llvm. ccache {
0 commit comments