Closed gdubicki closed 6 months ago
Hi @gdubicki,
As I can see, you try to use the sscache-dist
instead of sccache
when downloading.
The dist binary is used only for the distributed compiling (on the few PCs, servers, etc.). Please, configure the local caching at first.
Omg, thanks @AJIOB!
I assumed that "dist" here means something like "distribution version" aka "release version".
I was also looking for the x86_64 architecture in the release assets list and the first 20 assets that are shown only include it for the dist
package:
It is just slightly misleading...
But, anyway, my problem is solved!
Hi,
I am trying to use sccache v0.8.0 to cache Rust compilation for Rust v1.78.0.
I am running my code in a Docker image
rust:1.78.0-bullseye
.I start my container like this:
And then download and configure sccache like this:
...and then when I run
cargo test
I get:Of course under that long path there is really
rustc
:...and under
/usr/local/bin/scache
issccache
:I feel that I am stuck. I would appreciate any pointers about how I can move forward from here!