This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1153,6 +1153,11 @@ impl Config {
11531153 config. rust_profile_generate = flags. rust_profile_generate ;
11541154 }
11551155
1156+ // rust_info must be set before is_ci_llvm_available() is called.
1157+ let default = config. channel == "dev" ;
1158+ config. ignore_git = ignore_git. unwrap_or ( default) ;
1159+ config. rust_info = GitInfo :: new ( config. ignore_git , & config. src ) ;
1160+
11561161 if let Some ( llvm) = toml. llvm {
11571162 match llvm. ccache {
11581163 Some ( StringOrBool :: String ( ref s) ) => config. ccache = Some ( s. to_string ( ) ) ,
@@ -1346,10 +1351,6 @@ impl Config {
13461351 config. rust_debuginfo_level_tools = with_defaults ( debuginfo_level_tools) ;
13471352 config. rust_debuginfo_level_tests = debuginfo_level_tests. unwrap_or ( 0 ) ;
13481353
1349- let default = config. channel == "dev" ;
1350- config. ignore_git = ignore_git. unwrap_or ( default) ;
1351- config. rust_info = GitInfo :: new ( config. ignore_git , & config. src ) ;
1352-
13531354 let download_rustc = config. download_rustc_commit . is_some ( ) ;
13541355 // See https://github.com/rust-lang/compiler-team/issues/326
13551356 config. stage = match config. cmd {
You can’t perform that action at this time.
0 commit comments