cargo: enable lto
This will inline the asm intrinsics. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
223cd3d10c
commit
c24f46c96b
@ -3,7 +3,8 @@
|
|||||||
rustflags = [
|
rustflags = [
|
||||||
"-C", "link-arg=-Tmemory.x",
|
"-C", "link-arg=-Tmemory.x",
|
||||||
"-C", "link-arg=-Tlink.x",
|
"-C", "link-arg=-Tlink.x",
|
||||||
|
"-C", "linker-plugin-lto",
|
||||||
]
|
]
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
target = "riscv32i-unknown-none-elf"
|
target = "riscv32i-unknown-none-elf"
|
||||||
|
Loading…
Reference in New Issue
Block a user