tristanisham / zvm

zvm (Zig Version Manager) lets you easily install/upgrade between different versions of Zig.
https://www.zvm.app
MIT License
487 stars 32 forks source link

ZLS Invalid Executable on Windows #36

Closed Chris3606 closed 11 months ago

Chris3606 commented 11 months ago

On Windows, using the ZLS install command (zvm install -D=zls master) installs a completely invalid EXE. Attempting to run the version of zig placed in %USERPROFILE%\.zvm\bin produces the following error:

> zls
ResourceUnavailable: Program 'zls.exe' failed to run: An error occurred trying to start process 'C:\Users\cridl\.zvm\bin\zls.exe' with working directory 'D:\Documents\Development\AoC\aoc-2023\Zig'. The specified executable is not a valid application for this OS platform.At line:1 char:1

Upon further inspection, the zls.exe file placed in the bin folder isn't even a valid Win32 executable.

tristanisham commented 11 months ago

Thanks Chris, I'll take a look at this pronto.