top | item 34528558 (no title) jackosdev | 3 years 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 discuss order hn newest the_duke|3 years ago sccache includes the absolute path for each compilation, so it doesn't help with caching the same dependency across different projects. jackosdev|3 years ago Oh yeah, can fix that though with:mkdir -p ~/cargo/targetexport CARGO_TARGET_DIR="~/cargo/target"
the_duke|3 years ago sccache includes the absolute path for each compilation, so it doesn't help with caching the same dependency across different projects. jackosdev|3 years ago Oh yeah, can fix that though with:mkdir -p ~/cargo/targetexport CARGO_TARGET_DIR="~/cargo/target"
jackosdev|3 years ago Oh yeah, can fix that though with:mkdir -p ~/cargo/targetexport CARGO_TARGET_DIR="~/cargo/target"
the_duke|3 years ago
jackosdev|3 years ago
mkdir -p ~/cargo/target
export CARGO_TARGET_DIR="~/cargo/target"