summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2018-07-29 11:31:25 +0000
committerGitHub <noreply@github.com>2018-07-29 11:31:25 +0000
commit5d2faf4365f807e65a86748eb803cba3dcef61c3 (patch)
tree1776df180c26ffcd049a69e190dcdf711250dbb5
parent7c5585ff258780be9dcbee135f65b844edf011cb (diff)
Enable LTO
This has been disabled temporarily to improve compile times, however there were some performance regressions caused by this change. Since this only affects release compiles and performance is a high priority for Alacritty, LTO has been enabled again.
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 992c32e2..df237669 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -58,6 +58,7 @@ bench = []
gl_generator = "0.9"
[profile.release]
+lto = true
debug = 1
[package.metadata.deb]