[2/9] feat: allow caching all Rust crate types + atomic output + FORK_LOCK - #2
Open
mmastrac wants to merge 1 commit into
Open
[2/9] feat: allow caching all Rust crate types + atomic output + FORK_LOCK#2mmastrac wants to merge 1 commit into
mmastrac wants to merge 1 commit into
Conversation
mmastrac
changed the base branch from
vercel/multilevel-caching
to
vercel/00-multilevel-caching
March 31, 2026 17:28
mmastrac
changed the base branch from
vercel/00-multilevel-caching
to
vercel/multilevel-caching
March 31, 2026 17:29
mmastrac
force-pushed
the
vercel/crate-type-allow-hash
branch
from
March 31, 2026 17:35
523a520 to
daedab4
Compare
mmastrac
force-pushed
the
vercel/multilevel-caching
branch
from
March 31, 2026 17:35
22b3037 to
822ae6b
Compare
mmastrac
force-pushed
the
vercel/crate-type-allow-hash
branch
from
March 31, 2026 17:38
daedab4 to
adeb701
Compare
mmastrac
force-pushed
the
vercel/multilevel-caching
branch
from
March 31, 2026 17:38
822ae6b to
8261038
Compare
mmastrac
force-pushed
the
vercel/crate-type-allow-hash
branch
3 times, most recently
from
April 2, 2026 00:52
ceaf44f to
a1ea5d5
Compare
mmastrac
force-pushed
the
vercel/multilevel-caching
branch
from
April 16, 2026 21:35
8261038 to
98b4fab
Compare
mmastrac
force-pushed
the
vercel/crate-type-allow-hash
branch
2 times, most recently
from
April 17, 2026 14:44
9c26759 to
6026566
Compare
…ALLOW_HASH When the SCCACHE_RUST_CRATE_TYPE_ALLOW_HASH environment variable is set, all crate types (bin, dylib, cdylib, proc-macro) become cacheable. The env var value is hashed into the cache key only when unsupported crate types are present, so machines with different linker setups get separate cache entries. This enables per-machine binary crate caching by setting the env var to a machine-specific value (e.g., a hash of the linker toolchain). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
mmastrac
force-pushed
the
vercel/crate-type-allow-hash
branch
from
April 17, 2026 15:08
6026566 to
0ba527a
Compare
mmastrac
changed the base branch from
vercel/multilevel-caching
to
vercel/ci-fixes
April 17, 2026 15:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SCCACHE_RUST_CRATE_TYPE_ALLOW_HASHenv var is set, all crate types (bin, dylib, cdylib, proc-macro) become cacheableStack: 2/6