From 3d8ce85e717a432bbaad308f8d6e4779889c1f03 Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Sun, 2 Jul 2017 12:20:31 -0400 Subject: [PATCH] Tweak release options to shrink the binary a bit. cargo build --release --no-default-features && strip target/release/mandelwow Binary size: 1436288 --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ae262eb..00a6fc1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,8 +5,9 @@ authors = ["Bernie Innocenti "] license = "GPL-3.0+" [profile.release] -#lto = true -panic = 'abort' +lto = true +panic = "abort" +opt-level = 3 [dependencies] cgmath = "*" -- 2.25.1