From 4fb728a4fae151c8d13e0996ed430de7946b97fb Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sun, 12 Mar 2017 21:43:07 -0500 Subject: [PATCH] enable LTO --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ef5694a..bad8d13 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,4 +10,7 @@ cortex-m-srp = { git = "https://github.com/japaric/cortex-m-srp" } {{name}} = "*" [features] -default = ["cortex-m-rt/linker-script"] \ No newline at end of file +default = ["cortex-m-rt/linker-script"] + +[profile.release] +lto = true \ No newline at end of file