Open
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 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