Auto merge of #73 - NatalyaKovalova:ios-support, r=jdm

Add iOS support

Ability to build core-text-rs for iOS platform have been added in this PR.
For building could be used:
cargo build --target aarch64-apple-ios

@larsbergstrom

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/73)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo
2017-11-17 14:02:50 -06:00
committed by GitHub
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -15,7 +15,5 @@ mountainlion = []
[dependencies]
foreign-types = "0.3"
libc = "0.2"
[target.x86_64-apple-darwin.dependencies]
core-foundation = "0.4"
core-graphics = "0.11"
+1 -1
View File
@@ -417,7 +417,7 @@ pub fn cascade_list_for_languages(font: &CTFont, language_pref_list: &CFArray) -
}
}
#[link(name = "ApplicationServices", kind = "framework")]
#[link(name = "CoreText", kind = "framework")]
extern {
/*
* CTFont.h