We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 664c19e commit 94a408cCopy full SHA for 94a408c
1 file changed
src/luarocks/build/rust-mlua.lua
@@ -102,7 +102,8 @@ 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
+ local from = f
107
if type(from) == "number" then
108
from = to
109
end
0 commit comments