Skip to content

Commit

Permalink
add Rust optimization flags
Browse files Browse the repository at this point in the history
  • Loading branch information
ftheirs committed Mar 25, 2024
1 parent d72efa5 commit c514c8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ serde = { version = "1.0.110", features = ["derive"] }
[profile.release]
lto = false
codegen-units = 1
debug = true
opt-level = "s"
debug = false
opt-level = "z"
overflow-checks = true

[profile.dev]
panic = "abort"

0 comments on commit c514c8c

Please sign in to comment.