Re-enable sccache, force musl target for cargo-binstall
The vercel/sccache fork only publishes musl binaries in its GitHub
releases (sccache-{arch}-unknown-linux-musl.tar.gz). When CI runs
cargo-binstall on a glibc system (Ubuntu), the default target resolves
to x86_64-unknown-linux-gnu, which doesn't exist in the fork's releases.
binstall silently falls back to QuickInstall and installs upstream
mozilla/sccache 0.14.0, which lacks the vercel_artifacts cache backend.
Force --targets=x86_64-unknown-linux-musl so binstall grabs the
correct fork binary; musl binaries are statically linked and run
fine on glibc systems.
Also re-enable RUSTC_WRAPPER=sccache in the sccache action.
Showing
Please
register
or
sign in
to comment