aboutsummaryrefslogtreecommitdiff
path: root/.cargo
diff options
context:
space:
mode:
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config9
1 files changed, 9 insertions, 0 deletions
diff --git a/.cargo/config b/.cargo/config
new file mode 100644
index 0000000..6588394
--- /dev/null
+++ b/.cargo/config
@@ -0,0 +1,9 @@
+[build]
+target = "riscv64imac-unknown-none-elf"
+
+[target.riscv64imac-unknown-none-elf]
+# Effectively build for rv64i.
+rustflags = ["-C", "target-feature=-m,-a,-c"]
+runner = "qemu-riscv64"
+#runner = "qemu-riscv64 -d in_asm"
+#runner = "qemu-riscv64 -strace"