mirror of
https://github.com/kunkunsh/kunkun-ext-neohtop.git
synced 2025-04-11 17:29:45 +00:00
Link-Time Optimization (LTO) for smaller binary size resolves #2
This commit is contained in:
parent
d7cd3bf883
commit
fc2cf29e49
@ -18,3 +18,10 @@ users = "0.11"
|
|||||||
[features]
|
[features]
|
||||||
default = [ "custom-protocol" ]
|
default = [ "custom-protocol" ]
|
||||||
custom-protocol = [ "tauri/custom-protocol" ]
|
custom-protocol = [ "tauri/custom-protocol" ]
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
panic = "abort" # Strip expensive panic clean-up logic
|
||||||
|
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
|
||||||
|
lto = "fat" # More aggressive link-time optimization
|
||||||
|
opt-level = 3 # Optimize for maximum performance
|
||||||
|
strip = true # Remove debug symbols
|
||||||
|
Loading…
x
Reference in New Issue
Block a user