switch to only lines for debug info by default

This commit is contained in:
Folkert 2023-10-17 20:00:58 +02:00
parent ff6586bf9f
commit c8bbb55111
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -175,16 +175,23 @@ wyhash = "0.5.0"
# Optimizations based on https://deterministic.space/high-performance-rust.html
[profile.release]
codegen-units = 1
# debug = true # enable when profiling
[profile.dev]
debug = "line-tables-only"
[profile.bench]
codegen-units = 1
lto = "thin"
[profile.release-with-debug]
debug = true
inherits = "release"
debug = true
[profile.release-with-lto]
lto = "thin" # TODO: We could consider full here since this is only used for packaged release on github.
inherits = "release"
lto = "thin" # TODO: We could consider full here since this is only used for packaged release on github.
[profile.debug-full]
inherits = "dev"
debug = true