Skip to content

Commit 54d9f1b

Browse files
Merge pull request #45 from wyhaya/fix/m1
Fix aarch64-apple-darwin build
2 parents 5e5523c + 2a35615 commit 54d9f1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ fn build(sdk_path: Option<&str>, target: &str) {
9494
// -arch arm64 but it looks cleaner to just change the target.
9595
let target = if target == "aarch64-apple-ios" {
9696
"arm64-apple-ios"
97+
} else if target == "aarch64-apple-darwin" {
98+
"arm64-apple-darwin"
9799
} else {
98100
target
99101
};

0 commit comments

Comments
 (0)