✨ 保障速度
This commit is contained in:
@@ -30,9 +30,9 @@ default = ["custom-protocol"]
|
||||
custom-protocol = ["tauri/custom-protocol"]
|
||||
|
||||
# Pay attention to the code size during optimization in order to generate smaller binary files.
|
||||
[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 = true # Enables link to optimizations
|
||||
opt-level = "s" # Optimize for binary size
|
||||
strip = true # Remove debug symbols
|
||||
# [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 = true # Enables link to optimizations
|
||||
# opt-level = "s" # Optimize for binary size
|
||||
# strip = true # Remove debug symbols
|
||||
|
||||
Reference in New Issue
Block a user