Currently the code [silently ignores errors in fs modules](https://github.com/luarocks/luarocks/blob/ddb1c93bf93c9774cb9d854a665d51c369ea5acd/src/luarocks/fs.lua#L63-L66) and tests / CI do not detect errors in them (see #1844 for instance). It would be a good thing to remove this catch-all but I think it is there to support cross-compilation. @hishamhm I am willing to do this but do you have insight about what I should take care about and/or test to make sure I don't break anything? (If you don't want to do this on main it's fine as well, I don't know how far along you are with LuaRocks 4.)
Activity