Closed
Description
iOS added support for dynamic libraries in iOS 8. Clang/LLVM can now build them:
$ clang -arch armv7 -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/ -dynamiclib test.c
However rustc cannot:
$ rustc --crate-type dylib --target=armv7-apple-ios test.rs
warning: dropping unsupported crate type `CrateTypeDylib` for target `armv7-apple-ios`
We should support building dylibs on the platform.