Created
April 18, 2024 15:30
-
-
Save lupyuen/dd6a2ee58902e7925efd2a889bc0a833 to your computer and use it in GitHub Desktop.
Dump the Built-In Rust Target: riscv32i (32-bit RISC-V with Soft-Float). See https://github.com/lupyuen/nuttx-rust-app
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
## Dump the Built-In Rust Target: | |
## riscv32i (32-bit RISC-V with Soft-Float) | |
$ rustc \ | |
+nightly \ | |
-Z unstable-options \ | |
--print target-spec-json \ | |
--target riscv32i-unknown-none-elf | |
{ | |
"arch": "riscv32", | |
"atomic-cas": false, | |
"cpu": "generic-rv32", | |
"data-layout": "e-m:e-p:32:32-i64:64-n32-S128", | |
"eh-frame-header": false, | |
"emit-debug-gdb-scripts": false, | |
"is-builtin": true, | |
"linker": "rust-lld", | |
"linker-flavor": "ld.lld", | |
"llvm-target": "riscv32", | |
"max-atomic-width": 0, | |
"panic-strategy": "abort", | |
"relocation-model": "static", | |
"target-pointer-width": "32" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment