Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,27 @@ colored = "3.0"

# Format parsing
serde-saphyr = "0.0.24"

# --- Local dev speed -----------------------------------------------------------
# Drop debuginfo on dependencies (the main source of target/ bloat) and keep only
# line tables on workspace crates so panic backtraces still carry file:line.
# Affects dev/test builds only; the release profile is untouched.
[profile.dev]
debug = "line-tables-only"

[profile.dev.package."*"]
debug = false

# Escape hatch: `cargo build --profile debugging` gives full debuginfo for the
# workspace and its dependencies. Builds into target/debugging/, safe to delete.
[profile.debugging]
inherits = "dev"
debug = true

[profile.debugging.package."*"]
debug = true
Comment thread
coderabbitai[bot] marked this conversation as resolved.

# Build scripts and the proc-macro copies rustc loads during macro expansion are
# governed by build-override, not by the package overrides above.
[profile.debugging.build-override]
debug = true
Loading