nuttx/tools/aarch64-unknown-nuttx.json
Shoji Tokunaga 3d446bd674 tools/rust: Move NuttX Rust target specs into nuttx
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>
2026-06-01 00:02:41 +08:00

42 lines
956 B
JSON

{
"arch": "aarch64",
"crt-objects-fallback": "false",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32",
"default-uwtable": true,
"disable-redzone": true,
"features": "+v8a,+strict-align,+neon",
"linker": "rust-lld",
"linker-flavor": "gnu-lld",
"llvm-target": "aarch64-unknown-nuttx",
"max-atomic-width": 128,
"metadata": {
"description": "aarch64 target for NuttX RTOS",
"host_tools": false,
"std": true,
"tier": 3
},
"os": "nuttx",
"panic-strategy": "abort",
"pre-link-args": {
"gnu": [
"--fix-cortex-a53-843419"
],
"gnu-lld": [
"--fix-cortex-a53-843419"
]
},
"relocation-model": "static",
"stack-probes": {
"kind": "inline"
},
"supported-sanitizers": [
"kcfi",
"kernel-address",
"kernel-hwaddress"
],
"supports-xray": true,
"target-family": [
"unix"
],
"target-pointer-width": 64
}