Drew Crawford

Results 42 comments of Drew Crawford

I personally am quite curious how you managed to merge the selectors from various rlib into a single section. It’s not obvious to me how that can be achieved even...

So I can't comment on what you really want to know, which is "is this acceptable for the crate". However, I have been under-the-table working on my own objc crate...

I'd be happy to merge a patch on this.

security https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/security.1.html

+1 for API If the API supports man page submission, then the CLI application could just upload the local manpage if an acceptable one isn't available on the server. By...

A related issue is that the options themselves may have multiple names/spellings or long/short version, for example ```swift enum FormatType: ExpressibleByArgument,CaseIterable { case double case int init?(argument: String) { switch...

Although I did not use this crate, I was able to resolve this issue by implementing a similar panic hook in stdweb: ```rust #[macro_use] extern crate stdweb; fn main() {...

I have looked into this problem for my crates at some length. The short version is that x64 is “easy enough” if you are willing to very carefully control inlining,...

I think from the UB perspective one solution is to retain the value before it leaves `new_compute_command_encoder()`. `objc_retainAutoreleasedReturnValue` is the most optimized retain, but any retain (e.g. `objc_retain`) would fix...

I personally am in favor of a parameter strategy like @madsmtm 's suggestion in spite of it being very cumbersome. One detail, you really need a pool around **every** objc...