LuaLS / lua-language-server

A language server that offers Lua language support - programmed in Lua
https://luals.github.io
MIT License
3.37k stars 320 forks source link

Windows on ARM binary missing #2902

Open itpropro opened 1 month ago

itpropro commented 1 month ago

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

tomlau10 commented 1 month ago

AFAIK LuaLS uses github actions to build and release the binaries. You can see releases are published by github-actions

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

CppCXY commented 1 month ago

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