Skip to content

Nuttx work with tokio net features#5258

Open
wllenyj wants to merge 5 commits into
rust-lang:mainfrom
wllenyj:nuttx
Open

Nuttx work with tokio net features#5258
wllenyj wants to merge 5 commits into
rust-lang:mainfrom
wllenyj:nuttx

Conversation

@wllenyj

@wllenyj wllenyj commented Jul 7, 2026

Copy link
Copy Markdown

Description

Currently the nuttx rust app is not compiled, when using the tokio net feature.
Therefore, added support Nuttx definitions.

Sources

Added strerror_r function for errno crate. And errno crate 's pr lambda-fairy/rust-errno#129.
Added socket interrelated structs, functions and constants.
Added netinet interrelated structs and constants.
Added eventfd definitions, and poll/fcntl/tcp/pipe2 definitions.

Other interrelated pr rust-lang/socket2#663, tokio-rs/mio#1966, tokio-rs/tokio#8259.

Checklist

  • Relevant tests in libc-test/semver have been updated
  • No placeholder or unstable values like *LAST or *MAX are
    included (see #3131)
  • Tested locally (cd libc-test && cargo test --target mytarget);
    especially relevant for platforms that may not be checked in CI

wllenyj added 5 commits July 7, 2026 11:20
fixes missing `strerror_r` for compiling errno crate.

Signed-off-by: wanglei <wllenyj@gmail.com>
Signed-off-by: wanglei <wllenyj@gmail.com>
Signed-off-by: wanglei <wllenyj@gmail.com>
Signed-off-by: wanglei <wllenyj@gmail.com>
Signed-off-by: wanglei <wllenyj@gmail.com>
@wllenyj wllenyj changed the title Nuttx Nuttx work with tokio net features Jul 7, 2026
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.

2 participants