Skip to content

Commit 2a7fa2b

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.
1 parent 57297d9 commit 2a7fa2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)