Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
sccache v0.11.0 introduces improved compiler flag support (including -fsanitize-ignorelist and Xclang flags), S3 virtual host endpoints, better logging with millisecond precision, expanded CI coverage (including sccache-dist and new platforms like s390x), and numerous fixes for reproducibility, Android builds, and preprocessor cache behavior. It also replaces legacy crates (num_cpus, retry), updates major dependencies (tokio, openssl, clap, ring), cleans up old code, and improves documentation and test reliability. This release welcomes 14 new contributors and continues modernizing the build and CI infrastructure.
What's Changed
Apply clippy fixes and bump ghac from v2 to v4 bump by @drahnr in https://github.com/mozilla/sccache/pull/2341
Allow using S3 virtual host style endpoints by @brndnmtthws in https://github.com/mozilla/sccache/pull/2329
Remove Rust jobserver fd reference by @samuel-jimenez in https://github.com/mozilla/sccache/pull/2336
Update CI coverage: grcov/codecov by @samuel-jimenez in https://github.com/mozilla/sccache/pull/2348
chore: replace num_cpus crate with available_parallelism in standard library by @tottoto in https://github.com/mozilla/sccache/pull/2342
Expand coverage to sccache-dist tests by @samuel-jimenez in https://github.com/mozilla/sccache/pull/2350
Fix non-strict HIP device lib order by @Snektron in https://github.com/mozilla/sccache/pull/2217
Bail on nvcc -time and nvcc -fdevice-time-trace flags by @trxcllnt in https://github.com/mozilla/sccache/pull/2355
Improve the CARGO_INCREMENTAL checking by @anholt in https://github.com/mozilla/sccache/pull/2364
fix(tests): Remove executable bit from oauth.rs by @cryptomilk in https://github.com/mozilla/sccache/pull/2375
feat(utils): Add support for object >= 0.33 by @cryptomilk in https://github.com/mozilla/sccache/pull/2374
Add support for Xclang '-mrelax-all' and '-mconstructor-aliases' flags. by @Snektron in https://github.com/mozilla/sccache/pull/2371
Give the --dist-status user some information about when a retry wil happen by @anholt in https://github.com/mozilla/sccache/pull/2377
chore: fix some comments by @timesince in https://github.com/mozilla/sccache/pull/2381
CI: Expand/improve test coverage by @samuel-jimenez in https://github.com/mozilla/sccache/pull/2357
Update codecov badge in README.md by @samuel-jimenez in https://github.com/mozilla/sccache/pull/2387
github storage: force version 2 by @sylvestre in https://github.com/mozilla/sccache/pull/2385
Add support for -fsanitize-ignorelist by @res0nance in https://github.com/mozilla/sccache/pull/2390
chore: Remove not working mozilla code by @Xuanwo in https://github.com/mozilla/sccache/pull/2395
Reword and correct the preprocessor cache mode documentation by @ahartmetz in https://github.com/mozilla/sccache/pull/2362
check if we can use a specific version of rust to build grcov by @sylvestre in https://github.com/mozilla/sccache/pull/2410
chore: fix some minor issues in comments by @houpo-bob in https://github.com/mozilla/sccache/pull/2427
Fix preprocessor cache mode + (distributed compilation || -MD dependency scanning) by @ahartmetz in https://github.com/mozilla/sccache/pull/2392
Direct mode doc fixes 3 by @ahartmetz in https://github.com/mozilla/sccache/pull/2434
Display a more user-friendly error when compiling on Linux/arm64 by @rtyler in https://github.com/mozilla/sccache/pull/2435
add description to sccache-dist commands by @iTrooz in https://github.com/mozilla/sccache/pull/2413
Don't run tests using Clang as CUDA compiler on Windows by @ahartmetz in https://github.com/mozilla/sccache/pull/2444
Fix symbolic links to sccache on Linux by @ahartmetz in https://github.com/mozilla/sccache/pull/2439
Remove or replace "Windows 2019" CI config by @ahartmetz in https://github.com/mozilla/sccache/pull/2448
chore: replace retry crate with backon by @tottoto in https://github.com/mozilla/sccache/pull/2447
test: add s390x to ci.yaml by @iurly in https://github.com/mozilla/sccache/pull/2437
Fix build on Android (in Termux) by @dfaure in https://github.com/mozilla/sccache/pull/2442
Account for clippy-driver having extra prefix rustc by @bobrik in https://github.com/mozilla/sccache/pull/2438
Fix documentation of azure configuration by @jorendorff in https://github.com/mozilla/sccache/pull/2445
Fix mtime for reproducable toolchains by @nigredon1991 in https://github.com/mozilla/sccache/pull/2430
Ignore --diagnostic-width argument when computing hash by @shadaj in https://github.com/mozilla/sccache/pull/2424
fix: in stats, Compare values AND keys to have a fully deterministic order by @iTrooz in https://github.com/mozilla/sccache/pull/2403
feat: handle human size prefixes by @iTrooz in https://github.com/mozilla/sccache/pull/2405
logging: add a option to log milliseconds (Closes: #2454) by @sylvestre in https://github.com/mozilla/sccache/pull/2455
document SCCACHE_LOG_MILLIS by @sylvestre in https://github.com/mozilla/sccache/pull/2456
prepare version 0.11.0 by @sylvestre in https://github.com/mozilla/sccache/pull/2457
Dependencies
build(deps): bump ring from 0.17.7 to 0.17.13 by @dependabot[bot] in https://github.com/mozilla/sccache/pull/2354
build(deps): bump clap from 4.4.18 to 4.5.13 by @dependabot[bot] in https://github.com/mozilla/sccache/pull/2347
build(deps): bump chrono from 0.4.38 to 0.4.40 by @dependabot[bot] in https://github.com/mozilla/sccache/pull/2346
build(deps): bump tokio from 1.41.0 to 1.43.1 by @dependabot[bot] in https://github.com/mozilla/sccache/pull/2379
build(deps): bump openssl from 0.10.64 to 0.10.72 by @dependabot[bot] in https://github.com/mozilla/sccache/pull/2378
build(deps): bump memchr from 2.7.1 to 2.7.5 by @dependabot[bot] in https://github.com/mozilla/sccache/pull/2406
build(deps): bump chrono from 0.4.40 to 0.4.41 by @dependabot[bot] in https://github.com/mozilla/sccache/pull/2391
build(deps): bump chrono from 0.4.41 to 0.4.42 by @dependabot[bot] in https://github.com/mozilla/sccache/pull/2440
build(deps): bump actions/github-script from 7 to 8 by @dependabot[bot] in https://github.com/mozilla/sccache/pull/2441
build(deps): bump actions/download-artifact from 4 to 5 by @dependabot[bot] in https://github.com/mozilla/sccache/pull/2433
build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/mozilla/sccache/pull/2432
New Contributors
@brndnmtthws made their first contribution in https://github.com/mozilla/sccache/pull/2329
@Snektron made their first contribution in https://github.com/mozilla/sccache/pull/2217
@cryptomilk made their first contribution in https://github.com/mozilla/sccache/pull/2375
@timesince made their first contribution in https://github.com/mozilla/sccache/pull/2381
@res0nance made their first contribution in https://github.com/mozilla/sccache/pull/2390
@houpo-bob made their first contribution in https://github.com/mozilla/sccache/pull/2427
@rtyler made their first contribution in https://github.com/mozilla/sccache/pull/2435
@iTrooz made their first contribution in https://github.com/mozilla/sccache/pull/2413
@iurly made their first contribution in https://github.com/mozilla/sccache/pull/2437
@dfaure made their first contribution in https://github.com/mozilla/sccache/pull/2442
@bobrik made their first contribution in https://github.com/mozilla/sccache/pull/2438
@jorendorff made their first contribution in https://github.com/mozilla/sccache/pull/2445
@nigredon1991 made their first contribution in https://github.com/mozilla/sccache/pull/2430
@shadaj made their first contribution in https://github.com/mozilla/sccache/pull/2424
Full Changelog: https://github.com/mozilla/sccache/compare/v0.10.0...v0.11.0