You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Nul-terminating &str via CString in the runtime module and the declare module
Reading the length of a C string via CStr in the runtime module and for Encoding
Using a String in Encoding to store dynamically-sized, runtime defined type encodings
Allocating a buffer via String when declaring methods to represent their type encodings in the declare module
Using a String in the representation of MessageError
Implementing the Error trait for MessageError
Using the std::os::raw types instead of the libc types in the runtime module and for implementing the Encode trait
The text was updated successfully, but these errors were encountered:
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: