feat: add Rust path remap auto support - #237
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
zackees
added a commit
that referenced
this pull request
May 28, 2026
zackees
added a commit
that referenced
this pull request
May 28, 2026
zackees
added a commit
that referenced
this pull request
May 28, 2026
zackees
added a commit
that referenced
this pull request
May 28, 2026
zackees
added a commit
that referenced
this pull request
May 28, 2026
zackees
added a commit
that referenced
this pull request
May 28, 2026
zackees
added a commit
that referenced
this pull request
May 28, 2026
zackees
added a commit
that referenced
this pull request
May 28, 2026
zackees
added a commit
that referenced
this pull request
May 28, 2026
This was referenced May 29, 2026
zackees
added a commit
that referenced
this pull request
Jun 2, 2026
Bundles two setup-soldr versions: - v0.9.58: split foundation vs age-floor eviction counts (diagnostic) - v0.9.59: drop git SHA from cargo-registry exact key (closes setup-soldr#371). Same #237 anti-pattern fix; ~50 MB redundant upload saved per matrix-job per CI cycle. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
3 tasks
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.
Closes #229.
Summary
ZCCACHE_PATH_REMAP=autosupport for rustc/clippy by injecting a root-covering--remap-path-prefix <worktree-root>=.when needed--remap-path-prefixforms, preserve the destination prefix, and keep malformed/external values conservativefile!()auto-remap hits, no-remap misses, different destination-prefix misses, and existing sibling dependency invalidationValidation
cargo test -p zccache-depgraph remap_path_prefixcargo test -p zccache-depgraph rustc_context_key_with_rootcargo test -p zccache-daemon rust_remapcargo test -p zccache-daemon effective_compile_args_auto_cargo test -p zccache-daemon --test rustc_cache_test test_rustc_path_remap_auto_file_macro_hits_across_sibling_git_roots -- --ignored --nocapturecargo test -p zccache-daemon --test rustc_cache_test test_rustc_path_remap_conservative_cross_root_misses -- --ignored --nocapturecargo test -p zccache-daemon --test rustc_cache_test test_rustc_sibling_git_worktree_equivalent_cache_sharing -- --ignored --nocapturecargo test -p zccache-daemon --test rustc_adversarial_test rustc_remap_path_prefix_affects_cache_key -- --ignored --nocapturecargo test -p zccache-daemon --test stress_test path_remap_auto_compiles_file_macro_stably_across_git_roots -- --ignored --nocapturecargo test -p zccache-daemon --test link_cache_test test_link_path_remap_auto_hits_across_sibling_git_roots -- --ignored --nocapturecargo test -p zccache-daemon --test perf_bench_test perf_rustc_zccache_vs_sccache -- --ignored --nocaptureBenchmark
Rust benchmark on this machine (
C:\ProgramData\chocolatey\bin\rustc.exe), 50.rsfiles, 5 warm trials:Build mode is
--emit=dep-info,metadata,link; check mode is--emit=dep-info,metadata.