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:
parent
9eed5ab1f9
commit
130bfd0e54
1 changed files with 3 additions and 1 deletions
|
|
@ -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"
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue