Skip to content

Commit 7f94ff7

Browse files
committed
Optimize and reduce debuginfo of dependencies in debug builds
Unless you're doing clean builds all the time, having optimized dependencies and reducing the debuginfo generated for them is faster because it makes the linker do less work. Bump cache key because this replaces all cached dependencies
1 parent e3f8938 commit 7f94ff7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
env:
1212
RUST_BACKTRACE: 1
13-
RUST_CACHE_KEY: rust-cache-20240320
13+
RUST_CACHE_KEY: rust-cache-20240327
1414
DOCSRS_PREFIX: ignored/cratesfyi-prefix
1515
DOCSRS_DATABASE_URL: postgresql://cratesfyi:password@localhost:15432
1616
DOCSRS_LOG: docs_rs=debug,rustwide=info

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@ aws-smithy-runtime = {version = "1.0.1", features = ["client", "test-util"]}
132132
aws-smithy-http = "0.60.0"
133133
indoc = "2.0.0"
134134

135-
[profile.dev.package.sqlx-macros]
135+
[profile.dev.package."*"]
136136
opt-level = 2
137+
debug = "line-tables-only"
137138

138139
[build-dependencies]
139140
time = "0.3"

0 commit comments

Comments
 (0)