-
Notifications
You must be signed in to change notification settings - Fork 56
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
Consider making objc no_std compatible #51
Comments
Current thoughts on how this could be possible:
|
This was referenced Aug 31, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This crate is mainly just a wrapper around the objc runtime dylib, so it shouldn't need much else. If we can make it
no_std
then it might be usable in more places, perhaps even in the rust compiler itself.The current std dependencies that aren't part of libcore are:
&str
viaCString
in the runtime module and the declare moduleCStr
in the runtime module and forEncoding
String
inEncoding
to store dynamically-sized, runtime defined type encodingsString
when declaring methods to represent their type encodings in the declare moduleString
in the representation ofMessageError
Error
trait forMessageError
std::os::raw
types instead of thelibc
types in the runtime module and for implementing theEncode
traitThe text was updated successfully, but these errors were encountered: