Skip to content

Commit

Permalink
Enable LTO when profiling (#1469)
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai authored Feb 13, 2024
1 parent 3f663e5 commit 4a81275
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,10 @@ resolver = "2"
lto = "fat"
codegen-units = 1

[profile.bench]
lto = "fat"
codegen-units = 1

# used for e.g. generating flamegraphs
[profile.profiling]
inherits = "release"
lto = false
debug = true
codegen-units = 1

[workspace.dependencies]
scylla = { version = "0.12.0", features = ["ssl"] }
Expand Down

0 comments on commit 4a81275

Please sign in to comment.