build-reconfig
Some checks failed
Deploy / deploy (push) Has been skipped
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled

This commit is contained in:
2025-09-02 09:09:34 +03:00
parent 1aace5fd19
commit b1270c5cb6
5 changed files with 43 additions and 712 deletions

View File

@@ -1,15 +1,19 @@
[build]
# Limit parallel compilation to reduce memory usage
# Extreme memory optimization for CI/CD environments
jobs = 1
incremental = false
# Global rust flags for ultimate memory conservation
[target.x86_64-unknown-linux-gnu]
# Aggressive memory optimization for CI/CD environments
rustflags = [
"-C", "link-arg=-Wl,--no-keep-memory",
"-C", "link-arg=-Wl,--reduce-memory-overheads",
"-C", "link-arg=-Wl,--reduce-memory-overheads",
"-C", "link-arg=-Wl,--gc-sections",
"-C", "codegen-units=1",
"-C", "debuginfo=0",
"-C", "debuginfo=0",
"-C", "opt-level=s",
"-C", "panic=abort",
"-C", "strip=symbols",
]
# Profile for optimized builds with lower memory usage