Skip to content

offline installer should include rust-src #136268

Open
@NewUserHa

Description

@NewUserHa

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 rust-lang/rust-analyzer#4172 (comment) 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-windowsOperating system: WindowsS-needs-infoStatus: The issue lacks details necessary to triage or act on it.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions