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
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
rustflags = [
"-C", "link-arg=-Tmemory.x",
"-C", "link-arg=-Tlink.x",
"-C", "linker-plugin-lto",
]
[build]