Windows: Installation failed, rust_analyzer, unable to unpack gz file
DariusCorvus opened this issue · 2 comments
Issue
During the installation of the rust_analyzer on the windows platform occurs an error caused by unpacking the corresponding gz file.
Solution
Replacing the function for win platform with the code from the unix platform function.
This is possible because gunzip is an inbuilt tool in window >= 10
Hello! Hmm I've been unable to verify that gzip
comes with stock Windows. I know tar
was added, which is used in this plugin, but I remember being unable to find a suitable stock alternative for gunzip
. Do you perhaps have cygwin or mingw installed?
I'd be open to actually attempting these "POSIX" commands before falling back to Windows-specific tooling, should they be available (e.g. via cygwin et al). I'll look into extending your PR with this