From 2a356153fdf929137c7d8f1c70055d1cf1ed6f76 Mon Sep 17 00:00:00 2001 From: wyhaya Date: Fri, 4 Dec 2020 11:16:01 +0800 Subject: [PATCH] Fix aarch64-apple-darwin build --- build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.rs b/build.rs index b009c9a..314d128 100644 --- a/build.rs +++ b/build.rs @@ -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 };