tools/rust: Move NuttX Rust target specs into nuttx#19003
Merged
Conversation
Move the NuttX-specific Rust target specification files from apps/tools to nuttx/tools so files with the same purpose are kept in one place. The existing aarch64 Mach-O target spec for macOS simulator builds already lives under nuttx/tools. Keeping the remaining NuttX Rust target specs there as well makes the layout consistent and lets both Make and CMake builds refer to target specs from the NuttX tree. Signed-off-by: Shoji Tokunaga <toku@mac.com>
xiaoxiang781216
approved these changes
May 31, 2026
Member
|
@no1wudi Could you review this PR? Thanks :-) |
acassis
approved these changes
May 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.jsoni486-unknown-nuttx.jsonx86_64-unknown-nuttx.jsonA 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:
PR verification Self-Check