We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc656b0 commit 5b7422aCopy full SHA for 5b7422a
1 file changed
src/luarocks/build/rust-mlua.lua
@@ -73,6 +73,9 @@ function mlua.run(rockspec, no_install)
73
74
fs.make_dir(dir.dir_name(libdir))
75
for mod, rustlib_name in pairs(rockspec.build.modules) do
76
+ -- Make loop variable mutable in Lua 5.5
77
+ local mod
78
+
79
-- If `mod` is a number, then it's an array entry
80
if type(mod) == "number" then
81
mod = rustlib_name
0 commit comments