New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dylib on iOS #21727

Open
drewcrawford opened this Issue Jan 28, 2015 · 0 comments

Comments

Projects
None yet
4 participants
@drewcrawford
Contributor

drewcrawford commented Jan 28, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment