diff options
Diffstat (limited to '.cargo/config.toml')
-rw-r--r-- | .cargo/config.toml | 10 |
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" |