asdf-community / asdf-community/asdf-rust
question - how to get stdlib sources for intellij?
- Dominant language
- Shell
- Stars
- 120
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
Hi, this is more of a question than a bug, I hope you don't mind me asking here.
I have installed rustc etc with this asdf plugin and that's all working great.
When I open the project I'm working on in IntelliJ (CLion) with the [IntelliJ Rust plugin](https://intellij-rust.github.io/) it can't find stdlib and asks for the location or `rustup`. Having looked around it seems this plugin only installs the tool binaries (which makes sense), so I don't currently have the sources it's looking for.

I haven't installed rustup as presumably that overlaps in purpose with asdf. I don't really want to mess up my asdf setup by using rustup so I'm not sure what to do.
---
Edit
I got this working as per https://stackoverflow.com/questions/41464063/how-to-provide-standard-library-sources-for-intellij-ideas-rust-project/63934669#63934669 by downloading and extracting the sources directly from the source code links at the bottom of https://forge.rust-lang.org/infra/other-installation-methods.html#source-code and telling IntelliJ where to find them:

---
I guess ideally it'd be cool if this asdf plugin could also pull in the sources needed for intellij to behave.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the asdf-rust plugin's installation behavior and the Rust source-code installation links referenced in the issue. Determine how the plugin could provide sources that IntelliJ Rust can locate without rustup; done means a documented or automated setup supplies the required standard-library sources.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, shell
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100