Skip to content
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

FFI support for i128/u128 #597

Open
madsmtm opened this issue Apr 1, 2024 · 0 comments
Open

FFI support for i128/u128 #597

madsmtm opened this issue Apr 1, 2024 · 0 comments
Labels
A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates enhancement New feature or request

Comments

@madsmtm
Copy link
Owner

madsmtm commented Apr 1, 2024

rustc recently implemented support for the correct ABI for i128/u128, see this blog post and rust-lang/rust#54341, in particular by increasing the alignment.

We should reflect this as well in objc2 by implementing Encode/RefEncode for these types, at least once Rust removes them from the incompatible_c_types lint (tracking issue).

@madsmtm madsmtm added enhancement New feature or request A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant