madsmtm / objc2

Bindings to Apple's frameworks in Rust
https://docs.rs/objc2/
MIT License
280 stars 35 forks source link

Add SIMD support in encodings #584

Closed madsmtm closed 1 week ago

madsmtm commented 3 months ago

Fixes https://github.com/madsmtm/objc2/issues/582 as far as we can right now, Rust/Clang/GCC still needs to figure out the ABI of these types when passing them across FFI.

Tested on the major architectures we support:

You can see a quick summary of the places that this currently doesn't work in the test_simd_return.rs test.