toku-mac opened a new pull request, #19003:
URL: https://github.com/apache/nuttx/pull/19003
## Summary
Move the NuttX-specific Rust target specification files into `nuttx/tools`.
This keeps files with the same purpose in one place. The macOS simulator
aarch64 Mach-O Rust target spec already lives in `nuttx/tools`, so this change
adds the remaining NuttX Rust target specs there as well:
* `aarch64-unknown-nuttx.json`
* `i486-unknown-nuttx.json`
* `x86_64-unknown-nuttx.json`
A follow-up apps change will update the Rust build helpers to reference
these files from the NuttX tree instead of `apps/tools`.
## Testing
I confirm that changes are verified on local setup and works as intended:
* Build Host(s): OS (macOS 26.5), CPU(Apple M1), compiler(Apple clang
version 21.0.0)
* Target(s): arch(sim)
* Ensure your PATH environment variable is properly configured to allow
execution of: menuconfig, olddefconfig, savedefconfig, and setconfig.
* Use the Rust toolchain version prior to nightly-2026-04-29 to avoid errors
related to
lib/rustlib/src/rust/library/std/src/sys/net/connection/socket/unix.rs.
* Related PRs
* nuttx: [#18992](https://github.com/apache/nuttx/pull/18992)
* apps: [#3510](https://github.com/apache/nuttx-apps/pull/3510)
## PR verification Self-Check
* [x] My PR adheres to Contributing
[Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md) and
[Documentation](https://nuttx.apache.org/docs/latest/contributing/index.html)
(git commit title and message, coding standard, etc).
* [x] My PR is ready for review and can be safely merged into a codebase.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]