cuberite / cuberite

A lightweight, fast and extensible game server for Minecraft

Home Page:https://cuberite.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reverse compiling Lua as C++

NiLSPACE opened this issue · comments

Previously it was possible to replace the Lua dll with a different one, even LuaJIT was able to work this way. I noticed this isn't possible anymore. After searching around I found out that our Lua binary is compiled as C++ code (#5248). When I reversed those changes I was able to use LuaJIT again. I suspect this has some other consequences like not being able to load any luarocks libraries, so I think we should consider reversing the change.