Skip to content

Commit 278a606

Browse files
authored
Add support arm64e-apple-darwin (#1207)
1 parent 668facd commit 278a606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2697,7 +2697,7 @@ impl Build {
26972697
let arch = if is_mac {
26982698
match arch_str {
26992699
"i686" => AppleArchSpec::Device("-m32"),
2700-
"x86_64" | "x86_64h" | "aarch64" => AppleArchSpec::Device("-m64"),
2700+
"x86_64" | "x86_64h" | "aarch64" | "arm64e" => AppleArchSpec::Device("-m64"),
27012701
_ => {
27022702
return Err(Error::new(
27032703
ErrorKind::ArchitectureInvalid,

0 commit comments

Comments
 (0)