aboutsummaryrefslogtreecommitdiffstats
path: root/.cargo/config.toml
blob: d0fb511c1f67acf07b7acd61fb55b96802ce6ed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[alias]
t = "test --target x86_64-unknown-linux-gnu"
xtask = "run --package xtask --"

[build]
target = "riscv32imac-unknown-none-elf"

[target.riscv32imac-unknown-none-elf]
runner = "riscv32-elf-gdb -x gdbinit"
#rustflags = ["-C", "link-arg=-Tdevice.lds", "-C", "link-arg=-nostdlib"]
rustflags = [
  "-C", "link-arg=-Tmemory.x",
  "-C", "link-arg=-Tlink.x",
]
#linker = "riscv32-elf-ld"