From: Bernie Innocenti Date: Sun, 2 Jul 2017 16:20:31 +0000 (-0400) Subject: Tweak release options to shrink the binary a bit. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=3d8ce85e717a432bbaad308f8d6e4779889c1f03;p=mandelwow.git Tweak release options to shrink the binary a bit. cargo build --release --no-default-features && strip target/release/mandelwow Binary size: 1436288 --- 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 = "*"