Skip to content

Commit

Permalink
Merge pull request #45 from wyhaya/fix/m1
Browse files Browse the repository at this point in the history
Fix aarch64-apple-darwin build
  • Loading branch information
mitchmindtree authored Dec 4, 2020
2 parents 5e5523c + 2a35615 commit 54d9f1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ fn build(sdk_path: Option<&str>, target: &str) {
// -arch arm64 but it looks cleaner to just change the target.
let target = if target == "aarch64-apple-ios" {
"arm64-apple-ios"
} else if target == "aarch64-apple-darwin" {
"arm64-apple-darwin"
} else {
target
};
Expand Down

0 comments on commit 54d9f1b

Please sign in to comment.