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 compile #227

Open
njdan5691 opened this issue Dec 14, 2023 · 0 comments
Open

Cannot compile #227

njdan5691 opened this issue Dec 14, 2023 · 0 comments

Comments

@njdan5691
Copy link

$ cargo --version
cargo 1.74.0 (ecb9851af 2023-10-18)

rror[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> /home/dan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/socket2-0.3.9/src/sockaddr.rs:153:9
|
153 | mem::transmute::<SocketAddrV4, sockaddr_in>(v4);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: SocketAddrV4 (48 bits)
= note: target type: sockaddr_in (128 bits)

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