Skip to content

Commit cebe9f7

Browse files
committed
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.
1 parent 19136a5 commit cebe9f7

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 for CI
2+
[profile.dev]
3+
debug = false
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)