31 ms·
I use this with Rust, works great. Simply add a ~/.cargo/config.toml with [build] rustc-wrapper = "/path/to/sccache" And it will work everywhere w
by satvikpendem 3y ago
I use this with Rust, works great. Simply add a ~/.cargo/config.toml with
[build]
rustc-wrapper = "/path/to/sccache"
And it will work everywhere with cargo. I also like to combine it with the mold linker.
- throwup238 3y agoYou can also set the RUSTC_WRAPPER environment variable to make it system wide.
- pie_flavor 3y agoThe parent comment is also system wide.
- sodality2 3y agoIt should be system wide already because it’s in .home/cargo
- Already__Taken 3y agono you'd have to make that in every users /home to be system wide. Else it's just user-wide