-
Notifications
You must be signed in to change notification settings - Fork 228
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
ESP-IDF compiation error #508
Comments
The first problem should have already been solved by #460. Can you try v0.5.6? (I know your comments mentions trying it, but the error is from v0.4.10) Also the second error is in Mio, which is a different library: https://github.com/tokio-rs/mio, you might want to look at tokio-rs/mio#1703. |
@Thomasdezeeuw thanks for pointig me out to commit. I'm trying 0.5.6 by adding :
to dependencies but during build I'm still seeing:
and it seems ti compile both versions of socket2:
Sorry for dummy responses I just started with rust ;). Thanks. |
I'm afraid that doesn't work. One of your dependencies is still using v0.4 and since updating to v0.5 could contain breaking changes (which is does for socket2), Cargo will not force your dependencies to use v0.5. You can list all your dependencies and their dependencies using However, since socket2 v0.4 is still supported we should also fix it. Except, I don't have any build setup for ESP-IDF, nor do we have CI setup. Would you be willing to give it a shot? If you are, I think it's checking out the v0.4 branch and updating https://github.com/rust-lang/socket2/blob/v0.4.x/src/sys/unix.rs#L82-L83 to look like Lines 135 to 136 in 6923954
|
I think backporting 77e3bb9 should fix it. |
Hi,
I'm facing an issue with building socket2 on esp platform. I found issue #379 which seems to have fix. But seems I'm hitting some other problem:
I've tried 0.4.10 and also 0.5.6 issue is the same. Any ideas please? Thanks.
The text was updated successfully, but these errors were encountered: