iOS support
diff --git a/ci/run.sh b/ci/run.sh
index b0d4726..6a4b4b1 100644
--- a/ci/run.sh
+++ b/ci/run.sh
@@ -6,7 +6,16 @@
set -ex
TARGET=$1
-cargo build --manifest-path libc-test/Cargo.toml --target $TARGET
+case "$TARGET" in
+ *-apple-ios)
+ cargo rustc --manifest-path libc-test/Cargo.toml --target $TARGET -- \
+ -C link-args=-mios-simulator-version-min=7.0
+ ;;
+
+ *)
+ cargo build --manifest-path libc-test/Cargo.toml --target $TARGET
+ ;;
+esac
case "$TARGET" in
arm-linux-androideabi)
@@ -29,6 +38,10 @@
libc-test/target/$TARGET/debug/libc-test
;;
+ *-apple-ios)
+ libc-test/target/$TARGET/debug/libc-test
+ ;;
+
*)
cargo run --manifest-path libc-test/Cargo.toml --target $TARGET
;;