Some checks failed
BotServer CI / build (push) Failing after 23s
- Add sccache wrapper that unsets CARGO_INCREMENTAL (sccache 0.14.0 refuses to work when that env var is present, even if =0) - Remove rustc-wrapper from .cargo/config.toml (use RUSTC_WRAPPER env in CI) - Set [profile.dev] incremental = false to avoid sccache 'prohibited' error - DEV-DEPENDENCIES.sh now installs sccache 0.14.0 + wrapper correctly - CI workflow: unset CARGO_INCREMENTAL env (let sccache wrapper handle it) Tested on alm-ci: 50% cache hit rate on rebuild after target/ removal.
8 lines
120 B
TOML
8 lines
120 B
TOML
[build]
|
|
jobs = 6
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
linker = "clang"
|
|
rustflags = [
|
|
"-C", "link-arg=-fuse-ld=mold"
|
|
]
|