Include debug symbols in "bench" profile
Including full debug symbols makes the benchmark builds useful for profiling too.
This commit is contained in:
parent
e7aa1d6b62
commit
3e8b8d035a
|
@ -86,3 +86,9 @@ lto = "thin"
|
|||
codegen-units = 16
|
||||
opt-level = 2
|
||||
incremental = true
|
||||
|
||||
[profile.bench]
|
||||
# For "cargo bench", which is only used by some crates.
|
||||
# Inherits release build settings, but adds full debug symbols.
|
||||
debug = 2
|
||||
strip = "none"
|
||||
|
|
Loading…
Reference in New Issue