boring-sys: Support "aarch64-apple-ios-sim" targets

"aarch64-apple-ios" is for iOS devices running ARM64.

"aarch64-apple-ios-sim" is for iOS Simulator running on M1 macs.
This commit is contained in:
ilammy 2021-12-30 19:41:57 +09:00 committed by Joshua Nelson
parent f7673415bf
commit d3486e40c5
1 changed files with 7 additions and 0 deletions

View File

@ -56,6 +56,13 @@ const CMAKE_PARAMS_IOS: &[(&str, &[(&str, &str)])] = &[
("CMAKE_OSX_SYSROOT", "iphoneos"), ("CMAKE_OSX_SYSROOT", "iphoneos"),
], ],
), ),
(
"aarch64-apple-ios-sim",
&[
("CMAKE_OSX_ARCHITECTURES", "arm64"),
("CMAKE_OSX_SYSROOT", "iphonesimulator"),
],
),
( (
"x86_64-apple-ios", "x86_64-apple-ios",
&[ &[