Skip to content

Commit

Permalink
✨ 保障速度
Browse files Browse the repository at this point in the history
  • Loading branch information
tw93 committed Apr 18, 2023
1 parent a439036 commit 5cd39fb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5cd39fb

Please sign in to comment.