summarylogtreecommitdiffstats
path: root/lto.patch
blob: 8faee46bdd04452a4ef60448c893ab19f1b2989c (plain)
1
2
3
4
5
6
7
8
9
10
11
diff '--color=auto' -rupN cosmic-bg.orig/Cargo.toml cosmic-bg/Cargo.toml
--- cosmic-bg.orig/Cargo.toml	2024-09-26 18:12:01.813689739 +0200
+++ cosmic-bg/Cargo.toml	2024-09-26 18:12:22.830588098 +0200
@@ -36,6 +36,7 @@ features = ["calloop"]
 
 [profile.release]
 opt-level = 3
+lto = "thin"
 
 # TODO: Remove when sctk is updated to latest calloop, like cosmic-config
 [patch.'https://github.com/pop-os/libcosmic']