aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64.json
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv64.json')
-rw-r--r--arch/riscv64.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/riscv64.json b/arch/riscv64.json
new file mode 100644
index 0000000..ea84208
--- /dev/null
+++ b/arch/riscv64.json
@@ -0,0 +1,15 @@
+{
+ "llvm-target": "riscv64-unknown-none-elf",
+ "data-layout": "e-m:e-p:64:64-i64:64-n32:64-S128",
+ "arch": "riscv64",
+ "target-endian": "little",
+ "target-pointer-width": "64",
+ "target-c-int-width": "32",
+ "os": "none",
+ "executables": true,
+ "linker-flavor": "ld.lld",
+ "linker": "rust-lld",
+ "panic-strategy": "abort",
+ "disable-redzone": true,
+ "features": "+m,+a,+c,+f,+d"
+}