lua-language-server
lua-language-server copied to clipboard
Windows on ARM binary missing
How are you using the lua-language-server?
NeoVim
Which OS are you using?
Windows
What is the issue affecting?
Libraries, Formatting, Plugins
Expected Behaviour
There should be a Windows on ARM arm binary in addition to the x86 one.
Actual Behaviour
Currently, over winget and scoop as well as the GitHub releases there is no arm version available. With nvim over mason I get LuaLS.lua-language-server.
Reproduction steps
Install lua language server on Windows on ARM or use via. Mason.
Additional Notes
I am available for testing if it is needed on a Windows on ARM device.
Log File
No response
AFAIK LuaLS uses github actions to build and release the binaries. You can see releases are published by github-actions
- https://github.com/LuaLS/lua-language-server/releases
- https://github.com/LuaLS/lua-language-server/blob/master/.github/workflows/build.yml
However github currently does not provide windows-arm64 runner for free. From this comment: https://github.com/actions/runner-images/issues/768#issuecomment-2332781258, github just started to provide arm64 runner image recently, but only for enterprise plan users. Moreover the image currently doesn't have any build tools preinstalled.
So I believe building windows arm binary is impossible at the moment ☹️ . You may have to build the server binary yourself, and then setup the misc.executablePath config to point to your built binary when using LuaLS on ARM platform: https://luals.github.io/wiki/settings/#miscexecutablepath
It might not be that difficult; a Rust port can still be cross-compiled. see: https://github.com/LuaLS/lua-language-server-rust/actions/runs/11425688831