rust-lang / rust-lang/rust-analyzer

Change build directory

Open
#3,544 9 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

S-unactionable
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.