Skip to content

Commit c9c90db

Browse files
committed
build: apply org-wide Rust artifact size policy
Set dev and test profile defaults per wrightkit/.github docs/rust-build-artifacts.md: - debug=1 for workspace code (line tables, not full DWARF) - debug=false for third-party dependencies This reduces target/debug/deps and incremental artifact volume without affecting CI or test correctness. Refs wrightkit/.github#44
1 parent ee20d1c commit c9c90db

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,17 @@ perf = { level = "warn", priority = -1 }
4949
dbg_macro = "deny"
5050
todo = "deny"
5151
unimplemented = "deny"
52+
53+
# Reduce dependency artifact volume while retaining line-table diagnostics for
54+
# WrightKit code. See wrightkit/.github docs/rust-build-artifacts.md.
55+
[profile.dev]
56+
debug = 1
57+
58+
[profile.dev.package."*"]
59+
debug = false
60+
61+
[profile.test]
62+
debug = 1
63+
64+
[profile.test.package."*"]
65+
debug = false

0 commit comments

Comments
 (0)