generalbots/.cargo/config.toml
Rodrigo Rodriguez (Pragmatismo) 1bf8cd65cd
All checks were successful
BotServer CI / build (push) Successful in 47m36s
feat: Adicionar mold/lld para linkagem rápida + sccache
- Adiciona .cargo/config.toml com configuração de linker
- Usa clang + lld para linkagem 30-40% mais rápida
- Adiciona sccache para cache de compilação
- Remove comentários do workflow CI
- Ganho total esperado: 17min → 2-5min (incremental)
2026-04-28 15:10:26 -03:00

7 lines
139 B
TOML

[build]
rustc-wrapper = "sccache"
jobs = 6
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=lld"]