cargo: enable lto

This will inline the asm intrinsics.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2020-01-09 10:46:36 +08:00
parent 223cd3d10c
commit c24f46c96b

View File

@ -3,6 +3,7 @@
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]