Skip to content

Commit 3ddfd67

Browse files
committed
ci: Ensure sccache hits for worktrees
1 parent ccd950a commit 3ddfd67

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

codex-rs/.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ rustflags = ["-C", "link-arg=/STACK:8388608"]
33

44
[target.'cfg(all(windows, target_env = "gnu"))']
55
rustflags = ["-C", "link-arg=-Wl,--stack,8388608"]
6+
7+
[build]
8+
# Remap the workspace path to a static string so hashes match across worktrees
9+
rustflags = ["--remap-path-prefix", "$CARGO_MANIFEST_DIR=."]

0 commit comments

Comments
 (0)