rust-lang / rust-lang/rust-analyzer
Change build directory
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
I'm loving rust-analyzer so far, but there's a problem I'm facing.
I'm compiling for armv7, and whenever I want to build, I have to rebuild the whole package, because cargo check rebuilds all dependencies for x86_64 (I think, because it doesn't have to rebuild everything when the extension is disabled).
Now I'd like to know if there's a way to change the build directory, just so that I could use both programs and not have to wait 5min between deploys.
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
The issue names cargo check and armv7/x86_64 builds but no files, tests, or implementation entry point. First determine where rust-analyzer configures its build directory and how separate target builds are handled; done should allow both architectures to build without rebuilding incompatible dependencies.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100