From 804bfa074c1d5dff295a919da5657bd807ad5298 Mon Sep 17 00:00:00 2001 From: Magnus Hoff Date: Sun, 1 Oct 2017 22:50:44 +0200 Subject: [PATCH] Compile release with panic=abort. Unwinding is never utilized, so no reason to compile it in. This saves 3% on the binary size, and should also generate slightly faster code --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 0bc188e..d0b15e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,9 @@ version = "0.1.0" authors = ["Magnus Hoff "] license = "GPL-3.0" +[profile.release] +panic = "abort" + [dependencies] futures = "0.1" futures-cpupool = "0.1"