-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Map riscv64 to riscv64gc to match Rust naming (#43)
For 64-bit RISC-V platforms, Nerves passes `riscv64` for the architecture since that matched the tools (gcc and zig) used when Nerves was ported to RISC-V. Rust uses `riscv64gc`. The `g` and `c` refer to instruction sets available on the RISC-V processor, so this is a more specific name. The `g` says that the processor supports atomics, integer and floating point math. The `c` shows support for compressed instructions. To my knowledge, all available 64-bit RISC-V processors support `gc`, so this is a safe mapping.
- Loading branch information
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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