File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ enum TargetArch {
4040impl  TargetArch  { 
4141    /// Parse the `TargetArch` from a str. Returns `None` if the arch is unrecognized. 
4242fn  new ( arch :  & str )  -> Option < Self >  { 
43+         // NOTE: Keep up to date with docs in [`find`]. 
4344        match  arch { 
4445            "x64"  | "x86_64"  => Some ( Self :: X64 ) , 
4546            "arm64"  | "aarch64"  => Some ( Self :: Arm64 ) , 
@@ -112,13 +113,11 @@ impl EnvGetter for StdEnvGetter {
112113/// The `arch_or_target` argument is the architecture or the Rust target 
113114/// triple that the tool should work for (e.g. compile or link for). The 
114115/// supported architecture names are: 
115- /// - `"i586"` 
116- /// - `"i686"` 
117- /// - `"x86_64"` 
118- /// - `"arm"` 
119- /// - `"thumbv7a"` 
120- /// - `"aarch64"` 
116+ /// - `"x64"` or `"x86_64"` 
117+ /// - `"arm64"` or `"aarch64"` 
121118/// - `"arm64ec"` 
119+ /// - `"x86"`, `"i586"` or `"i686"` 
120+ /// - `"arm"` or `"thumbv7a"` 
122121/// 
123122/// The `tool` argument is the tool to find (e.g. `cl.exe` or `link.exe`). 
124123/// 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments