Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
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.