generalbots/.cargo/config.toml
Rodrigo Rodriguez 130bfd0e54 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
2026-04-28 17:00:13 -03:00

9 lines
146 B
TOML

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