You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Should exclude --remap-path-prefix from cache key #2765
Say I have a Rust project and I add a worktree. I want debuginfo to be valid across trees, so we normalize using --remap-path-prefix. sccache normalizes the source directory when basedirs is set, so we get a nice shared cache hit. Now, I add a new worktree. I have to go to all other worktrees and add the new worktree's base to the --remap-path-prefix set, which changes the cache key, blowing away cache that could otherwise be reused.
Shouldn't sccache normalize away --remap-path-prefix when it's congruent with one of the sccache base directories? Or better yet, add its own --remap-path-prefix so shared debuginfo Just Works?
Activity
rust: remap basedirs in rustc outputs with SCCACHE_BASEDIRS_REMAP_PATHS
rust: remap basedirs in rustc outputs with SCCACHE_BASEDIRS_REMAP_PATHS
rust: remap basedirs in rustc outputs with SCCACHE_BASEDIRS_REMAP_PATHS
rust: remap basedirs in rustc outputs with SCCACHE_BASEDIRS_REMAP_PATHS
rust: remap basedirs in rustc outputs with SCCACHE_BASEDIRS_REMAP_PATHS