rust-lang / rust-lang/rust-analyzer

[Feature Request] Ability to set build directory for build/cargo check

Open
#13,808 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-config A-vscode C-feature
Dominant language
Rust
Stars
16.9k
Forks
2.2k
Avg merge
1d 12h
Merged PRs (30d)
72

Description

This is somewhat similar to my previous issue #13729, but I think it would be much better to allow someone to set a custom build directory as a setting.

I actually have a need to have the build directory target be dynamic, so it would be wonderful if a feature such as this also allowed you to use vars and even command vars (so I could write a VsCode extension to provide it with the info I need)

In my opinion, this would be a much better option rather than bothering with #13729, unless #13729 is truly considered a bug that needs fixing that is.

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

Start by reviewing the build/cargo check entry point and the related issue #13729. Define the scope for a configurable build directory, including VS Code variables and command variables, and consider the feature complete when those values can provide the requested dynamic target.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, vscode
Domain
build-system, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.