summarylogtreecommitdiffstats
path: root/lto.patch
blob: 1d4c2b9a645e4b76844109933a85783b986b50ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/Cargo.toml b/Cargo.toml
index 2002d0f..2b2bf4b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -54,6 +54,9 @@ fork = "0.1"
 default = ["wgpu"]
 wgpu = ["libcosmic/wgpu", "cosmic-files/wgpu"]
 
+[profile.release]
+lto = "thin"
+
 [profile.release-with-debug]
 inherits = "release"
 debug = true