Skip to content

Commit

Permalink
chore: optimize release build settings in Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
magic-akari committed Jun 5, 2024
1 parent 79de8eb commit 92ed1ed
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@ resolver = "2"
stylua = { version = "0.20.0", default-features = false }

[profile.release]
lto = true
opt-level = "s"
codegen-units = 1
debug = false # set to `true` for debug information
lto = true
opt-level = "s"
panic = "abort" # Let it crash and force ourselves to write safe Rust.
strip = "symbols" # set to `false` for debug information

0 comments on commit 92ed1ed

Please sign in to comment.