Y
Hacker News
new
|
ask
|
show
|
jobs
by
jackosdev
1233 days ago
sccache works really well and there’s only two steps to install it and enable it globally, speeds up compilation time a lot as well:
https://github.com/mozilla/sccache
1 comments
the_duke
1233 days ago
sccache includes the absolute path for each compilation, so it doesn't help with caching the same dependency across different projects.
link
jackosdev
1231 days ago
Oh yeah, can fix that though with:
mkdir -p ~/cargo/target
export CARGO_TARGET_DIR="~/cargo/target"
link