Rust 绑定到 Mac OS X 和 iOS 上的 Core Foundation 和其他低级库
mac_os_10_8_features。 要同时支持 10.8 的功能和 10.7 的兼容性,还需要设置 mac_os_10_7_support。 同时设置需要弱链接,这是 Rust 1.19 版本的一个夜间版本特性。 如需更多实验性但更完整的生成绑定,请查看 https://github.com/michaelwu/RustKit. 其他替代方案是 https://github.com/nvzqz/fruity 和 https://gitlab.com/objrs/objrs暂无开放 Issues,或尚未同步最近议题。