Skip to content

Commit 3366c40

Browse files
travierJohan-Liebert1
authored andcommitted
WIP: Build using debug=false
1 parent 5269030 commit 3366c40

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ resolver = "2"
44

55
[profile.dev]
66
opt-level = 1 # No optimizations are too slow for us.
7+
# https://kobzol.github.io/rust/rustc/2025/05/20/disable-debuginfo-to-improve-rust-compile-times.html
8+
debug = false
79

810
[profile.release]
911
lto = "thin"
1012
# We use FFI so this is safest
1113
panic = "abort"
1214
# We assume we're being delivered via e.g. RPM which supports split debuginfo
13-
debug = true
15+
# debug = true
16+
debug = false
1417

1518
[profile.thin]
1619
# drop bootc size when split debuginfo is not available and go a step

0 commit comments

Comments
 (0)