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
Thanks for the report! This has also been reported here and here, and unfortunately this is just a place where Rust hasn't historically handled FFI unions very well right now. The underlying type is a union which gains it higher alignment but the exposed fields right now don't give us that alignment. When we have custom alignment we may be able to get around this via other means, but for now you can construct this like you would in C:
There is a private
__align
field, so we can't create it.https://doc.rust-lang.org/libc/x86_64-unknown-linux-gnu/libc/struct.in6_addr.html
The text was updated successfully, but these errors were encountered: