From 8efba78fa4d299403e2fc2a17767e76d55eab27b Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Wed, 10 Aug 2016 15:08:42 +0200 Subject: [PATCH] squash: add optimization to example rust Cargo.toml --- examples/rust/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/rust/Cargo.toml b/examples/rust/Cargo.toml index 083dc321621ef..77cd24050408e 100644 --- a/examples/rust/Cargo.toml +++ b/examples/rust/Cargo.toml @@ -5,3 +5,7 @@ authors = ["Kaspar Schleiser "] [dependencies] riot = "0.1.0" + +[profile.release] +panic = "abort" +lto = true