bevyengine / bevyengine/bevy-website

Section on rust-analyzer should recommend enabling seperate cargo directories

Open
#1,380 5 comments 1 reaction 0 assignees View on GitHub
A-Book C-Content X-Contentious
Dominant language
JavaScript
Stars
249
Forks
450
Avg merge
16h 20m
Merged PRs (30d)
6

Description

> Rust-analyzer › Cargo: Target Dir
> Optional path to a rust-analyzer specific target directory. This prevents rust-analyzer's cargo check and initial build-script and proc-macro building from locking the Cargo.lock at the expense of duplicating build artifacts.
> Set to true to use a subdirectory of the existing target directory or set to a path relative to the workspace to use that path.

This is a huge QoL / iteration speed improvement. It should be mentioned right after we talk about `rust-analyzer`. Call out both the pros and cons.

Contributor guide

Open the contributing guide

Research direction

Locate the website section that discusses rust-analyzer and read the surrounding guidance. Add a recommendation for separate Cargo target directories, including the stated iteration-speed benefits and the trade-offs. Done means the recommendation appears immediately after the rust-analyzer discussion and covers both pros and cons.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.