Skip to content

Commit 7b5b2a9

Browse files
committed
feat: update release profile settings in Cargo.toml
- Set incremental to false for release-nonlto profile - Upgrade optimization level to 3 - Retain debug information for flamegraphs by setting strip to false
1 parent 304d28d commit 7b5b2a9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,13 +249,13 @@ strip = true # Eliminate debug information to minimize binary size
249249
[profile.release-nonlto]
250250
codegen-units = 16
251251
debug-assertions = false
252-
debug = false
253-
incremental = true
252+
incremental = false
254253
inherits = "release"
255254
lto = false
256-
opt-level = 2
255+
opt-level = 3
257256
overflow-checks = false
258257
rpath = false
258+
strip = false # Retain debug info for flamegraphs
259259

260260
[profile.ci]
261261
debug = false

0 commit comments

Comments
 (0)