Skip to content

Commit

Permalink
switch to only lines for debug info by default
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertdev committed Oct 17, 2023
1 parent ff6586b commit c8bbb55
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c8bbb55

Please sign in to comment.