Commit a2cbfce
committed
Docs: skip the full Rust dep rebuild on a fresh worktree by
A fresh worktree gets its own `target/` and rebuilds every dependency from scratch on first build. An APFS copy-on-write clone of the main clone's `target/` reuses all crates.io dep artifacts (they're fingerprinted on version + features + rustc + profile, not the build path), leaving only the workspace members to rebuild. Instant and zero extra disk until files diverge. Documented in the AGENTS.md worktree playbook, mirroring the existing `.codegraph/` clone step.cp -c-cloning target/
1 parent 46829c2 commit a2cbfce
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
259 | 266 | | |
260 | 267 | | |
261 | 268 | | |
| |||
0 commit comments