-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
error at here:
luarocks-build-rust-mlua/src/luarocks/build/rust-mlua.lua
Lines 84 to 107 in 3350f60
local src = dir.path(target_path, "release", rustlib) | |
local dst = dir.path(libdir, mod .. "." .. cfg.lib_extension) | |
local ok, err = fs.copy(src, dst, "exec") | |
if not ok then | |
return nil, "Failed installing " .. src .. " in " .. dst .. ": " .. err | |
end | |
end | |
if rockspec.build.include then | |
local cwd = dir.path(dir.dir_name(rockspec.local_abs_filename), rockspec.name) | |
local luadir = path.lua_dir(rockspec.name, rockspec.version) | |
fs.make_dir(dir.dir_name(luadir)) | |
for from, to in pairs(rockspec.build.include) do | |
if type(from) == "number" then | |
from = to | |
end | |
to = dir.path(luadir, to) | |
local ok, err = fs.copy(dir.path(cwd, from), to, "exec") | |
if not ok then | |
return nil, "Failed copying " .. from .. " in " .. to .. ": " .. err | |
end | |
end |
because you just search output in target/release
error will produce when user type CARGO_BUILD_TARGET=aarch64-unknown-linux-gnu luarock build --pack-binary-rock --no-install ....
this command will produce output into target/aarch64-unknown-linux-gnu/release
, so.. it will fails at line 105
Metadata
Metadata
Assignees
Labels
No labels