-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
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
viaCString
in the runtime module and the declare module - Reading the length of a C string via
CStr
in the runtime module and forEncoding
- Using a
String
inEncoding
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 ofMessageError
- Implementing the
Error
trait forMessageError
- Using the
std::os::raw
types instead of thelibc
types in the runtime module and for implementing theEncode
trait
Metadata
Metadata
Assignees
Labels
No labels