Created
November 20, 2022 21:32
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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