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
## Description
`build-mdbook` was failing on multiple PRs with
```
Run cargo install --locked --debug --path ./forc
error: binary `forc` already exists in destination
Add --force to overwrite
```
https://github.com/FuelLabs/sway/actions/runs/7819113568/attempts/1?pr=5569https://github.com/FuelLabs/sway/actions/runs/7816891674/job/21336246772?pr=5565
`cargo install` keeps track of which binaries it has installed in
~/.cargo/crates.toml and ~/.cargo.crates2.json. By using the entire
cached `cargo` directory, cargo is able to tell that it has previously
installed the binaries and install correctly.
## Checklist
- [ ] I have linked to any relevant issues.
- [ ] I have commented my code, particularly in hard-to-understand
areas.
- [ ] I have updated the documentation where relevant (API docs, the
reference, and the Sway book).
- [ ] I have added tests that prove my fix is effective or that my
feature works.
- [ ] I have added (or requested a maintainer to add) the necessary
`Breaking*` or `New Feature` labels where relevant.
- [ ] I have done my best to ensure that my PR adheres to [the Fuel Labs
Code Review
Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md).
- [ ] I have requested a review from the relevant team or maintainers.
0 commit comments