2 ms·
> Setting it up took hardly 5 minutes for me (for Rust) You're underselling it, honestly. For those who haven't looked into it, if you want to enable it for al
by saghm 3y ago
> Setting it up took hardly 5 minutes for me (for Rust)
You're underselling it, honestly. For those who haven't looked into it, if you want to enable it for all Rust projects on your system, literally all you need is install the binary and then add this to ~/.cargo/config, and then it will be enabled whenever you invoke `cargo` (or even rustc directly iirc) from the user who's config file you modified)
[build]
rustc-wrapper = "/path/to/sccache"
I'm sure there are people with legitimate reasons not to wanting it enabled implicitly or who have multiple users they might have to set this up for, but for 90% of people it won't take any more time than it took to read this comment.