mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-08 05:55:09 +02:00
perf(cargo): add release-opt profile
This commit is contained in:
committed by
LGUG2Z
parent
78177af6b8
commit
2c00d79968
+10
-3
@@ -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]
|
||||||
@@ -52,7 +52,7 @@ features = [
|
|||||||
"Win32_Devices",
|
"Win32_Devices",
|
||||||
"Win32_Devices_Display",
|
"Win32_Devices_Display",
|
||||||
"Win32_System_Com",
|
"Win32_System_Com",
|
||||||
"Win32_UI_Shell_Common", # for IObjectArray
|
"Win32_UI_Shell_Common", # for IObjectArray
|
||||||
"Win32_Foundation",
|
"Win32_Foundation",
|
||||||
"Win32_Globalization",
|
"Win32_Globalization",
|
||||||
"Win32_Graphics_Dwm",
|
"Win32_Graphics_Dwm",
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user