Skip to content

Commit 1ef4d35

Browse files
authored
Remove assertion to accommodate the removal of the type method in LuaRocks 3.12.0 (#20)
1 parent 3350f60 commit 1ef4d35

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/luarocks/build/rust-mlua.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ local util = require("luarocks.util")
77
local mlua = {}
88

99
function mlua.run(rockspec, no_install)
10-
assert(rockspec:type() == "rockspec")
11-
1210
if not fs.is_tool_available("cargo", "Cargo") then
1311
return nil, "'cargo' is not installed.\n" .. "This rock is written in Rust: make sure you have a Rust\n" ..
1412
"development environment installed and try again."

0 commit comments

Comments
 (0)