Skip to content

Add the sccache plugin (shared compilation cache) - #30

Merged
jlouazel merged 1 commit into
mainfrom
add-sccache-plugin
Nov 3, 2026
Merged

jlouazel merged 1 commit into
mainfrom
add-sccache-plugin

Conversation

@jlouazel

@jlouazel jlouazel commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Adds a proto plugin for sccache, a ccache-like shared compilation cache for C/C++, Rust, and more. Pinned to 0.19.0.

Details

  • Linux uses the static musl build.
  • Arch tokens map directly to the Rust target triples (x86_64/aarch64), so no [install.arch] block is needed.
  • Tags are v-prefixed; proto strips the leading v, same as the k9s plugin, so no version-pattern.
  • Checksums are enabled on every platform — the per-asset .sha256 files are bare lowercase digests, so none of the case-sensitivity issue that cargo-deny hit.

Verification

  • proto install sccache succeeded on macOS arm64, passed checksum verification, and the resolved binary runs (sccache 0.19.0).
  • Archive layouts confirmed to match exe-path for macOS, Linux, and Windows.
  • prek run --all-files passes.

CI exercises install across Linux, macOS (x64 + arm64), and Windows via scripts/smoke-test.sh.

sccache (mozilla/sccache) is a ccache-like shared compilation cache for
C/C++, Rust, and more. Register a proto TOML plugin pinned to 0.19.0.

- Linux uses the static musl build; arch tokens map directly to the Rust
  target triples, so no [install.arch] block is needed.
- Tags are v-prefixed; proto strips the leading "v", same as k9s.
- Per-asset .sha256 files are bare lowercase digests, so checksum
  verification is enabled on every platform.

Verified install + checksum + runnable binary on macOS arm64; archive
layouts confirmed for macOS, Linux, and Windows.
@jlouazel
jlouazel requested a review from a team as a code owner November 3, 2026 12:52
@jlouazel
jlouazel enabled auto-merge (squash) November 3, 2026 12:53
@jlouazel
jlouazel merged commit 868317f into main Nov 3, 2026
5 checks passed
@jlouazel
jlouazel deleted the add-sccache-plugin branch November 3, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants