1- use  crate :: { mkl,  xdg_home_path ,   Config ,  LinkType ,  VALID_CONFIGS } ; 
1+ use  crate :: { mkl,  Config ,  LinkType ,  VALID_CONFIGS } ; 
22use  anyhow:: { bail,  Result } ; 
33use  derive_more:: Deref ; 
44use  std:: { 
@@ -72,8 +72,6 @@ impl Entry {
7272     ///   - This exists only when the previous build downloads archive here 
7373     /// - pkg-config `${name}` 
7474     ///   - Installed by package manager or official downloader 
75-      /// - `$XDG_DATA_HOME/intel-mkl-tool/${name}` 
76-      ///   - Downloaded by this crate 
7775     /// 
7876     /// Returns error if no library found 
7977     /// 
@@ -97,10 +95,6 @@ impl Entry {
9795            } ) ; 
9896        } 
9997
100-         // $XDG_DATA_HOME/intel-mkl-tool 
101-         let  path = xdg_home_path ( ) . join ( config. to_string ( ) ) ; 
102-         targets. seek ( & path) ; 
103- 
10498        // $MKLROOT 
10599        let  mkl_root = std:: env:: var ( "MKLROOT" ) . map ( PathBuf :: from) ; 
106100        if  let  Ok ( path)  = mkl_root { 
@@ -156,7 +150,7 @@ impl Entry {
156150
157151    /// Get MKL version info from its C header 
158152     /// 
159-      /// - This will not work for OUT_DIR, XDG_DATA_HOME,  or Pkgconfig entry, 
153+      /// - This will not work for OUT_DIR, or Pkgconfig entry, 
160154     ///   and returns Error in these cases 
161155     pub  fn  version ( & self )  -> Result < ( u32 ,  u32 ) >  { 
162156        for  ( path,  _)  in  & self . found_files ( )  { 
0 commit comments