File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ enum TargetArch {
40
40
impl TargetArch {
41
41
/// Parse the `TargetArch` from a str. Returns `None` if the arch is unrecognized.
42
42
fn new ( arch : & str ) -> Option < Self > {
43
+ // NOTE: Keep up to date with docs in [`find`].
43
44
match arch {
44
45
"x64" | "x86_64" => Some ( Self :: X64 ) ,
45
46
"arm64" | "aarch64" => Some ( Self :: Arm64 ) ,
@@ -112,13 +113,11 @@ impl EnvGetter for StdEnvGetter {
112
113
/// The `arch_or_target` argument is the architecture or the Rust target
113
114
/// triple that the tool should work for (e.g. compile or link for). The
114
115
/// 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"`
121
118
/// - `"arm64ec"`
119
+ /// - `"x86"`, `"i586"` or `"i686"`
120
+ /// - `"arm"` or `"thumbv7a"`
122
121
///
123
122
/// The `tool` argument is the tool to find (e.g. `cl.exe` or `link.exe`).
124
123
///
You can’t perform that action at this time.
0 commit comments