We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 664c19e commit 36fa879Copy full SHA for 36fa879
1 file changed
src/luarocks/build/rust-mlua.lua
@@ -102,7 +102,9 @@ function mlua.run(rockspec, no_install)
102
local luadir = path.lua_dir(rockspec.name, rockspec.version)
103
104
fs.make_dir(dir.dir_name(luadir))
105
- for from, to in pairs(rockspec.build.include) do
+ for f, to in pairs(rockspec.build.include) do
106
+ -- Make loop variable mutable in Lua 5.5
107
+ local from = f
108
if type(from) == "number" then
109
from = to
110
end
0 commit comments