config: Set sccache, 6 jobs, and mold linker in .cargo/config.toml

- rustc-wrapper = "sccache" for faster rebuilds
- jobs = 6 for parallel compilation
- linker = "clang" with mold for faster linking

This ensures all developers and CI use the same optimized build settings.
Run: cargo build -p botserver --bin botserver
This commit is contained in:
Rodrigo Rodriguez 2026-04-28 16:59:22 -03:00
parent 9eed5ab1f9
commit 130bfd0e54

View file

@ -4,4 +4,6 @@ jobs = 6
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
rustflags = [
"-C", "link-arg=-fuse-ld=mold"
]