Skip to content

Commit 2c00d79

Browse files
lucascompythonLGUG2Z
authored andcommitted
perf(cargo): add release-opt profile
1 parent 78177af commit 2c00d79

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Cargo.toml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ members = [
99
"komorebic-no-console",
1010
"komorebi-bar",
1111
"komorebi-themes",
12-
"komorebi-shortcuts"
12+
"komorebi-shortcuts",
1313
]
1414

1515
[workspace.dependencies]
@@ -52,7 +52,7 @@ features = [
5252
"Win32_Devices",
5353
"Win32_Devices_Display",
5454
"Win32_System_Com",
55-
"Win32_UI_Shell_Common", # for IObjectArray
55+
"Win32_UI_Shell_Common", # for IObjectArray
5656
"Win32_Foundation",
5757
"Win32_Globalization",
5858
"Win32_Graphics_Dwm",
@@ -73,5 +73,12 @@ features = [
7373
"Win32_System_SystemServices",
7474
"Win32_System_WindowsProgramming",
7575
"Media",
76-
"Media_Control"
76+
"Media_Control",
7777
]
78+
79+
[profile.release-opt]
80+
inherits = "release"
81+
lto = true
82+
panic = "abort"
83+
codegen-units = 1
84+
strip = true

0 commit comments

Comments
 (0)