Skip to content

Commit 21c78b9

Browse files
committed
Add support for aarch64-apple-ios-sim
1 parent 5837e3a commit 21c78b9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ fn sdk_path(target: &str) -> Result<String, std::io::Error> {
1111

1212
let sdk = if target.contains("apple-darwin") {
1313
"macosx"
14-
} else if target == "x86_64-apple-ios" || target == "i386-apple-ios" {
14+
} else if target == "x86_64-apple-ios"
15+
|| target == "i386-apple-ios"
16+
|| target == "aarch64-apple-ios-sim"
17+
{
1518
"iphonesimulator"
1619
} else if target == "aarch64-apple-ios"
1720
|| target == "armv7-apple-ios"

0 commit comments

Comments
 (0)