racer expects SRC_RUST_PATH environment variable, which varies depending on override
- Dominant language
- Shell
- Stars
- 651
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
`racer` wants a folder with the `rust` source in it to provide "go to definition" and autocompletion on built-ins. Unfortunately, those vary based on the Rust version.
Some possible work-arounds:
- Maintain an `src` folder based on the current default override.
- Provide `multirust run (stable|beta|nightly) racer` with the path to the right `src` folder passed in as an environment variable.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the multirust command path involved in `multirust run` and how it sets environment variables for the selected Rust version. Check how `racer` consumes `SRC_RUST_PATH`; done means selecting the matching Rust source directory for stable, beta, and nightly without requiring a manually maintained override.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100