Skip to content

Commit 2a35615

Browse files
author
wyhaya
committed
Fix aarch64-apple-darwin build
1 parent 5e5523c commit 2a35615

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)