File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1153,6 +1153,11 @@ impl Config {
1153
1153
config. rust_profile_generate = flags. rust_profile_generate ;
1154
1154
}
1155
1155
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
+
1156
1161
if let Some ( llvm) = toml. llvm {
1157
1162
match llvm. ccache {
1158
1163
Some ( StringOrBool :: String ( ref s) ) => config. ccache = Some ( s. to_string ( ) ) ,
@@ -1346,10 +1351,6 @@ impl Config {
1346
1351
config. rust_debuginfo_level_tools = with_defaults ( debuginfo_level_tools) ;
1347
1352
config. rust_debuginfo_level_tests = debuginfo_level_tests. unwrap_or ( 0 ) ;
1348
1353
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
-
1353
1354
let download_rustc = config. download_rustc_commit . is_some ( ) ;
1354
1355
// See https://github.com/rust-lang/compiler-team/issues/326
1355
1356
config. stage = match config. cmd {
You can’t perform that action at this time.
0 commit comments