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

Cannot build since rust 1.64 : cannot transmute between types of different size... #12

Closed
ptitdoc opened this issue Jul 25, 2023 · 0 comments

Comments

@ptitdoc
Copy link

ptitdoc commented Jul 25, 2023

Since rust 1.64, it is not possible to build this library anymore:

cannot transmute between types of different sizes, or dependently-sized types
   --> src/sctpsock.rs:149:81

There have been a change in rust where std:::net::{Ipv4Addr, Ipv6Addr, SocketAddrV4, SocketAddrV6} do not rely anymore on sockaddr_in c struct, and this breaks compability with rust-sctp:

rust-lang/rust#78802

Most rust network related libraries had to be changed accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant