Skip to content

Instantly share code, notes, and snippets.

@LucasPlacentino
Created November 20, 2022 21:32
Show Gist options
  • Save LucasPlacentino/6a19ba557bc1ba85356e5860bff5f36e to your computer and use it in GitHub Desktop.
Save LucasPlacentino/6a19ba557bc1ba85356e5860bff5f36e to your computer and use it in GitHub Desktop.
Around 2x faster Rust build times with sccache compiler caching, setting in ~/.cargo/config.toml
# compiler caching tool for improved Rust build times
# in ~/.cargo/config.toml (or individual project's .cargo/config.toml)
[build]
rustc-wrapper = "sccache"
# around 2x faster Rust build times when used
# see https://twitter.com/0atman/status/1590118756226805762
# https://github.com/mozilla/sccache
# /!\ please also see https://github.com/mozilla/sccache/blob/main/docs/Rust.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment