Skip to content

Commit

Permalink
chore: Tweak release settings and drop unneeded comments (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
hrzlgnm authored Oct 30, 2024
1 parent 52f7bcc commit 9eafa14
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ version = "0.0.5"
edition = "2021"

[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 = "z" # Optimize for binary size
strip = true # Remove debug symbols

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
panic = "abort"
codegen-units = 1
lto = true
opt-level = "s"
strip = true

[dependencies]
# crates
Expand Down

0 comments on commit 9eafa14

Please sign in to comment.