This is a Rust port of the Lua Language Server. Not all code is implemented in Rust; only the host program has been rewritten in Rust, while some C code is still used. The main goal of this port is to ensure compatibility with more platforms.
The current default runtime is LuaJIT, but JIT is not enabled. Performance is better with jit.off()
.
- win32-x64
- win32-ia32
- linux-aarch64 not format
- linux-x64
- linux-musl
- linux-bsd not format. need 'ld' but not find.
- darwin-x64
- darwin-arm64
NOTE:
-
The linux-aarch64 and linux-bsd are not format, because there are some build problems.
-
linux-bsd Unable to compile successfully under the virtual machine provided by cross, you can compile it yourself.
Rust version: 1.81.0
To build the project, run:
git submodule update --init --recursive
cargo build --release -p luals
To publish the project, run:
./publish/WinPublish.ps1
will package the compiled files and related resource files into the dist
directory