I have the following snippet in my Cargo.toml:
[profile.bench]
debug = true # for profiling
However, when I run cargo bench --no-run, the binary that is placed in
target/release/benches-* does not seem to contain debug information.
Only when I add the following snippet do I get debug information:
[profile.release]
debug = true