[2/9] feat: allow caching all Rust crate types + atomic output + FORK_LOCK#2
Open
mmastrac wants to merge 1 commit intovercel/ci-fixesfrom
Open
[2/9] feat: allow caching all Rust crate types + atomic output + FORK_LOCK#2mmastrac wants to merge 1 commit intovercel/ci-fixesfrom
mmastrac wants to merge 1 commit intovercel/ci-fixesfrom
Conversation
523a520 to
daedab4
Compare
22b3037 to
822ae6b
Compare
daedab4 to
adeb701
Compare
822ae6b to
8261038
Compare
ceaf44f to
a1ea5d5
Compare
8261038 to
98b4fab
Compare
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>
6026566 to
0ba527a
Compare
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