]> git.lizzy.rs Git - rust.git/blobdiff - src/libextra/unicode.rs
Register new snapshots
[rust.git] / src / libextra / unicode.rs
index 1f850032266688c73a9129f60e779a3aef495890..094a4b02a249fe877fd34e1d98c0736230151fbe 100644 (file)
@@ -161,8 +161,8 @@ pub mod libicu {
         use unicode::icu::*;
 
         // #[link_name = "icuuc"]
-        #[link_args = "-licuuc"]
-        extern "cdecl" {
+        #[link(name = "icuuc")]
+        extern {
             pub fn u_hasBinaryProperty(c: UChar32, which: UProperty) -> UBool;
             pub fn u_isdigit(c: UChar32) -> UBool;
             pub fn u_islower(c: UChar32) -> UBool;