offline installer should include `rust-src`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
offline installer should include rust-src by default, to avoid to let user manually to download the 2MB file and put into a specific correct folder.
I downloaded rust-1.84.0-x86_64-pc-windows-gnu.msi to avoid to install 7GB msvc c++ compiler and linker, but the language-server rust-analyzer refused to work because of lacking rust-src in the offline installation.
the resolution is to manually download https://static.rust-lang.org/dist/rust-src-1.84.0.tar.gz. found from https://github.com/rust-lang/rust-analyzer/issues/4172#issuecomment-1664348160 which is not in installation part in the rust documentation.
and finally need to construct the correct folder path.
Therefore, the offline installers should include the 2MB content by default to prevent the users run into a trap
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the offline installer packaging entry point and the existing component inclusion rules in the rust-lang/rust repository. Check how the matching rust-src archive is represented in installer inputs. Done means offline installers include rust-src by default and users no longer need to download it or construct its folder path manually.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100