Skip to content

Add Apache NuttX support - #861

Merged
newpavlov merged 3 commits into
rust-random:masterfrom
kay-lambdadelta:nuttx-support
Aug 11, 2026
Merged

Add Apache NuttX support#861
newpavlov merged 3 commits into
rust-random:masterfrom
kay-lambdadelta:nuttx-support

Conversation

@kay-lambdadelta

Copy link
Copy Markdown
Contributor

This PR adds the ability to use getrandom on NuttX.

Supporting this target is fairly uninteresting as it has support for a linux-style getrandom which is supported via libc

This does however, require a bump for the version of libc this crate uses (to 0.2.176 for errno support)

@newpavlov

Copy link
Copy Markdown
Member

Would it be possible to test the target in out CI using build-only job?

@kay-lambdadelta

Copy link
Copy Markdown
Contributor Author

Would it be possible to test the target in out CI using build-only job?

A build-only test shouldn't require anything more than a nightly compiler. I would suggest pinning to a nightly version like nightly-2026-08-09, as rust NuttX support is pretty alpha and it breaks sometimes. Right now the riscv and the arm variants of the target should work.

@newpavlov
newpavlov merged commit 4fbc7bc into rust-random:master Aug 11, 2026
80 checks passed
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

Successfully merging this pull request may close these issues.

2 participants