perf(cargo): add release-opt profile

This commit is contained in:
Lucas de Linhares
2025-07-29 23:37:05 +01:00
committed by LGUG2Z
parent 78177af6b8
commit 2c00d79968
+9 -2
View File
@@ -9,7 +9,7 @@ members = [
"komorebic-no-console", "komorebic-no-console",
"komorebi-bar", "komorebi-bar",
"komorebi-themes", "komorebi-themes",
"komorebi-shortcuts" "komorebi-shortcuts",
] ]
[workspace.dependencies] [workspace.dependencies]
@@ -73,5 +73,12 @@ features = [
"Win32_System_SystemServices", "Win32_System_SystemServices",
"Win32_System_WindowsProgramming", "Win32_System_WindowsProgramming",
"Media", "Media",
"Media_Control" "Media_Control",
] ]
[profile.release-opt]
inherits = "release"
lto = true
panic = "abort"
codegen-units = 1
strip = true