Skip to content

Commit 3a200ff

Browse files
authored
repo: Add debug = "line-tables-only" to dev profile to reduce build size (#823)
* repo: Add `debug = false` to dev profile to reduce build size #### Problem Some of the CI jobs time out or fail because there's too much disk space used by the build. #### Summary of changes Take a hammer to the problem, and just don't emit debug info. On my machine, this reduces the build size from 21GB to 4.1GB for the rust legacy build, which always runs into issues. * Actually, use "line-tables-only"
1 parent fe26071 commit 3a200ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Reduce the size of debug builds
2+
[profile.dev]
3+
debug = "line-tables-only"
4+
15
# The curve25519-dalek crate uses the `simd` backend by default in v4 if
26
# possible, which has very slow performance on some platforms with opt-level 0,
37
# which is the default for `dev` and `test` builds. This slowdown causes

0 commit comments

Comments
 (0)