mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-14 19:27:04 -04:00
On Windows every integration-test binary links the whole app and gets its own 500-600 MB PDB, mostly debug info for third-party crates, so one `cargo test --workspace` needs ~38 GB of target dir. [profile.dev.package."*"] now sets debug = "line-tables-only". "*" matches only non-workspace packages (crates.io dependencies and the vendored crates under vendor/, which are excluded from the workspace), so our own crates keep full debug info and dependency frames still show file and line in backtraces. Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
653f8268c2
commit
e5b37b8b9e
1 file changed
+6
@@ -75,8 +75,14 @@ unsafe_code = "forbid"
|
||||
dbg_macro = "warn"
|
||||
todo = "warn"
|
||||
|
||||
# `"*"` matches every non-workspace package: crates.io dependencies and the
|
||||
# vendored crates under `vendor/` (excluded from the workspace). Our own crates
|
||||
# keep full debug info. Dependencies keep only line tables, so backtraces still
|
||||
# show file and line, but debug info for the whole dependency graph stays out of
|
||||
# every test binary (each UI test binary had a 500-600 MB PDB on Windows, #454).
|
||||
[profile.dev.package."*"]
|
||||
opt-level = 2
|
||||
debug = "line-tables-only"
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 1
|
||||
|
||||
Reference in new issue
Block a user