Update Luarocks Lua dep from lua51 to lua54 #19252
Replies: 1 comment
-
So the issue is that there is 3(-ish) commonly used, more or less compatible, major implementations of Lua.
Unless specific Lua 5.2 through 5.4 features are used the standard target for most Lua scripts is going to be LuaJIT or 5.1. I'm afraid you're likely not gonna get around needing multiple versions of Lua installed since each package on Luarocks can specify its own Lua version as a dependency. For what its worth, Luarocks itself can make use of any version of Lua 5.x, though doesn't officially support building with LuaJIT. |
Beta Was this translation helpful? Give feedback.
-
Would it be possible/ a good idea to update Luarocks' deps?
I'm not deep into the lua scene so I'm not sure if any issues would arise but from a quick look at the arch package, it's using the base lua package for arch which is currently the latest version of lua 5.4 (specifically, lua 5.4.6-3) so I would think it's at least worth looking into for up-to-date features/ not having two versions of lua installed.
Beta Was this translation helpful? Give feedback.
All reactions