@@ -19,6 +19,7 @@ use std::process::Command;
1919use std:: str:: FromStr ;
2020
2121use crate :: core:: build_steps:: compile:: CODEGEN_BACKEND_PREFIX ;
22+ use crate :: core:: build_steps:: llvm;
2223use crate :: core:: config:: flags:: { Color , Flags , Warnings } ;
2324use crate :: utils:: cache:: { Interned , INTERNER } ;
2425use crate :: utils:: cc_detect:: { ndk_compiler, Language } ;
@@ -2101,18 +2102,18 @@ impl Config {
21012102 fn parse_download_ci_llvm ( & self , download_ci_llvm : Option < StringOrBool > , asserts : bool ) -> bool {
21022103 match download_ci_llvm {
21032104 None => {
2104- self . channel == "dev" && crate :: llvm:: is_ci_llvm_available ( & self , asserts)
2105+ self . channel == "dev" && llvm:: is_ci_llvm_available ( & self , asserts)
21052106 } ,
21062107 Some ( StringOrBool :: Bool ( b) ) => b,
21072108 Some ( StringOrBool :: String ( s) ) if s == "if-avaliable" => {
2108- crate :: llvm:: is_ci_llvm_available ( & self , asserts)
2109+ llvm:: is_ci_llvm_available ( & self , asserts)
21092110 } ,
21102111 Some ( StringOrBool :: String ( s) ) if s == "if-unchanged" => {
21112112 if self . last_modified_commit ( & [ "src/llvm-project" ] , "download-ci-llvm" , true ) . is_none ( ) {
21122113 // there are some untracked changes in the the given paths.
21132114 false
21142115 } else {
2115- crate :: llvm:: is_ci_llvm_available ( & self , asserts)
2116+ llvm:: is_ci_llvm_available ( & self , asserts)
21162117 }
21172118 } ,
21182119 Some ( StringOrBool :: String ( other) ) => {
0 commit comments