Skip to content

Commit

Permalink
Add dev profile to strip symbols and disable debug info (ref #3610)
Browse files Browse the repository at this point in the history
This significantly speeds up builds:
- with strip symbols and debug 0: 43s
- without: 169s
  • Loading branch information
Nutomic committed Jul 13, 2023
1 parent c0b7865 commit ac91575
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ doctest = false
debug = 0
lto = "thin"

[profile.dev]
strip = "symbols"
debug = 0

[features]
embed-pictrs = ["pict-rs"]
console = ["console-subscriber", "opentelemetry", "opentelemetry-otlp", "tracing-opentelemetry", "reqwest-tracing/opentelemetry_0_16"]
Expand Down

0 comments on commit ac91575

Please sign in to comment.