diff --git a/.cargo/config b/.cargo/config index df2b29411..f912ee7fa 100644 --- a/.cargo/config +++ b/.cargo/config @@ -5,4 +5,8 @@ xtask = "run --package xtask --" # offline = true # do not access the network [build] -rustflags = ["--cfg", "crossbeam_no_atomic_64"] \ No newline at end of file +rustflags = ["--cfg", "crossbeam_no_atomic_64"] + +[target.riscv32imac-unknown-xous-elf] +linker = "clang" +rustflags = ["-C", "link-arg=-fuse-ld=/opt/riscv64-unknown-elf/bin/riscv64-unknown-elf-ld", "--cfg", "crossbeam_no_atomic_64"] \ No newline at end of file