Skip to content

Commit

Permalink
feat(release): enable lto
Browse files Browse the repository at this point in the history
  • Loading branch information
efugier committed Oct 30, 2024
1 parent 6584411 commit 618d686
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ reqwest = { version = "0", features = ["json", "blocking", "multipart"] }
tempfile = "3"
serial_test = "2"

[profile.release]
opt-level = 3
debug = "none"
strip = "symbols"
debug-assertions = false
overflow-checks = false
lto = "fat"
panic = "abort"
incremental = false
codegen-units = 1

[[bin]]
path = "src/main.rs"
name = "sc"
Expand Down

0 comments on commit 618d686

Please sign in to comment.