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

Socket constants necessary for ESP-IDF support in socket2 #2864

Merged
merged 1 commit into from Aug 9, 2022

Conversation

ivmarkov
Copy link
Contributor

@ivmarkov ivmarkov commented Aug 4, 2022

I would like to upstream the support for ESP-IDF in the socket2 crate. (Which in turn is necessary for Rust async networking support on top of ESP-IDF.)

To tidy up the patch and remove this and this TODOs I need these constants defined in the libc crate

@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon.

Please see the contribution instructions for more information.

@ivmarkov
Copy link
Contributor Author

ivmarkov commented Aug 4, 2022

Note that I've also added the signature of eventfd to the PR (yes - ESP-IDF supports an API similar to Linux's eventfd).

This is necessary for upstreaming my changes to the polling crate which is also part of my general effort to upstream the Rust async support for ESP-IDF.

@Amanieu
Copy link
Member

Amanieu commented Aug 9, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Aug 9, 2022

📌 Commit 919e823 has been approved by Amanieu

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Aug 9, 2022

⌛ Testing commit 919e823 with merge 1f28e05...

@bors
Copy link
Contributor

bors commented Aug 9, 2022

☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: Amanieu
Pushing 1f28e05 to master...

@bors bors merged commit 1f28e05 into rust-lang:master Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants