Tweak release options to shrink the binary a bit.
authorBernie Innocenti <bernie@codewiz.org>
Sun, 2 Jul 2017 16:20:31 +0000 (12:20 -0400)
committerBernie Innocenti <bernie@codewiz.org>
Sun, 2 Jul 2017 16:20:31 +0000 (12:20 -0400)
cargo build --release --no-default-features && strip target/release/mandelwow

Binary size: 1436288

Cargo.toml

index ae262eba53dbc0ded5ec43ec27ffbbc606280e7a..00a6fc19a682a13d64fc8233d074d063a0f555da 100644 (file)
@@ -5,8 +5,9 @@ authors = ["Bernie Innocenti <bernie@codewiz.org>"]
 license = "GPL-3.0+"
 
 [profile.release]
-#lto = true
-panic = 'abort'
+lto = true
+panic = "abort"
+opt-level = 3
 
 [dependencies]
 cgmath = "*"