xous-kernel/.cargo/config
Sean Cross c24f46c96b cargo: enable lto
This will inline the asm intrinsics.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-01-09 10:46:36 +08:00

11 lines
244 B
Plaintext

[target.riscv32i-unknown-none-elf]
#runner = "riscv64-unknown-elf-gdb -x gdb_init"
rustflags = [
"-C", "link-arg=-Tmemory.x",
"-C", "link-arg=-Tlink.x",
"-C", "linker-plugin-lto",
]
[build]
target = "riscv32i-unknown-none-elf"