cargo: enable lto

This will inline the asm intrinsics.

Signed-off-by: Sean Cross <sean@xobs.io>
master
Sean Cross 3 years ago
parent 223cd3d10c
commit c24f46c96b

@ -3,7 +3,8 @@
rustflags = [
"-C", "link-arg=-Tmemory.x",
"-C", "link-arg=-Tlink.x",
"-C", "linker-plugin-lto",
]
[build]
target = "riscv32i-unknown-none-elf"
target = "riscv32i-unknown-none-elf"

Loading…
Cancel
Save