Skip to content

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

Closed
@ptitdoc

Description

@ptitdoc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions