Can't build in parallel with linked toolchain on windows
Open
Nobody has claimed this yet.
bug
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 22h 40m
- Merged PRs (30d)
- 46
Description
*** Nothing to do with lock errors with ESP32 ***
Running two builds in parallel with a linked toolchain on windows:
brian@DESKTOP-CODN6ST MINGW64 /c/Users/brian/Documents/dev/rls
$ PATH="c:\Program Files\CMake\bin:$PATH" cargo +rust1-stage2 build
error: unable to unlink old fallback exe
info: caused by: Access is denied. (os error 5)
This is because of the hack where the 'fallback' cargo is copied into a temporary location for the duration of the build.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the linked-toolchain parallel build on Windows with the documented cargo command and inspect the fallback cargo temporary-location hack described in the issue. Done means two parallel builds complete without the fallback executable unlink failure or an Access is denied error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100