aboutsummaryrefslogtreecommitdiffstats
path: root/.cargo
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2022-08-03 09:00:58 -0400
committerBrian Cully <bjc@kublai.com>2022-08-03 09:00:58 -0400
commit17cac5fe6421e144619f4828409e8174986f3e3b (patch)
treeeb34f3af60fa95ec7ca53ac9acf0704dd250e07b /.cargo
downloadluchie-17cac5fe6421e144619f4828409e8174986f3e3b.tar.gz
luchie-17cac5fe6421e144619f4828409e8174986f3e3b.zip
Initial bootstrap into ‘main’.
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
new file mode 100644
index 0000000..f383523
--- /dev/null
+++ b/.cargo/config.toml
@@ -0,0 +1,10 @@
+[alias]
+t = "test --target x86_64-unknown-linux-gnu"
+xtask = "run --package xtask --"
+
+[build]
+target = "riscv32imac-unknown-none-elf"
+
+[target.riscv32imac-unknown-none-elf]
+rustflags = ["-C", "link-arg=-Tdevice.lds", "-C", "link-arg=-nostdlib"]
+linker = "riscv32-elf-ld"