Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,16 @@ lto = false
opt-level = 3
strip = false

[profile.profiling]
codegen-units = 1 # better line info (slower build, clearer profiles)
debug = 2 # full debug info
inherits = "release"
lto = false # avoid over-inlining across crates
opt-level = 1 # less inlining, easier stepping/backtraces
panic = "unwind" # needed for backtraces
# macOS only:
split-debuginfo = "unpacked"
strip = "none" # or "debuginfo" to separate

[dev-dependencies]
async-trait = { workspace = true }
Expand Down
Loading