Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up100% cache misses when using `cargo install --git` #148
Comments
This comment has been minimized.
This comment has been minimized.
|
This is likely due to Cargo using a tmpdir so path names are changing, and the hash right now may accidentally include the path name. |
This comment has been minimized.
This comment has been minimized.
|
If you run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lilianmoraru commentedJul 9, 2017
I ran this command 3 times:
and every time it results in 100% cache misses.
My guess now is that when using
--git, it downloads the projects into a temporary folder, this way the paths change every time.I was hoping that
sccachewill share the compiled crates, so, when compiling other projects, it will pick these up(from a previous ripgrep compilation for example).Could this be solved or there is nothing that can be done here?