Add iOS support

This commit is contained in:
Natalya
2017-11-17 21:32:21 +02:00
parent c9c689be9e
commit 86271a87b0
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