aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-11-15 05:36:38 +0000
committerBlaž Hrastnik2021-11-15 05:38:03 +0000
commitcccc1949ebabcbc1b336f370847626c9d6774fbb (patch)
treeb92408340ef69bb07bb3b33338c1bd854e12ddf2
parent87e61a0894d6af1838c5d288fae83279004026fb (diff)
Enable thin LTO
It compiles about half a second slower for me, so it seems fine to use by default.
-rw-r--r--Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 22d29260..580cccd6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,3 +14,6 @@ members = [
[profile.dev]
split-debuginfo = "unpacked"
+
+[profile.release]
+lto = "thin"