You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[sorry for all the GitHub issues, it’s just that luau require is a pretty big thing so yeah]
Luau 671 (still in pr status) now supports registering builtin ‘modules’ (LuaTables) as aliased paths:
// Registers an aliased require path to a result. After registration, the given
// result will always be immediately returned when the given path is required.
// Expects the path and table to be passed as arguments on the stack.
LUALIB_API int luarequire_registermodule(lua_State* L);
Can mlua expose (once 671 is out) a Lua::register_require_module(String or &str, LuaTable) -> Result method too? This would be the final thing needed for runtimes ngl
Also 671 namespaced most luau require methods to luarequire so lua_pushrequire is now luarequire_pushrequire
671 also adds proxy require too
The text was updated successfully, but these errors were encountered:
[sorry for all the GitHub issues, it’s just that luau require is a pretty big thing so yeah]
Luau 671 (still in pr status) now supports registering builtin ‘modules’ (LuaTables) as aliased paths:
Can mlua expose (once 671 is out) a Lua::register_require_module(String or &str, LuaTable) -> Result method too? This would be the final thing needed for runtimes ngl
Also 671 namespaced most luau require methods to luarequire so lua_pushrequire is now luarequire_pushrequire
671 also adds proxy require too
The text was updated successfully, but these errors were encountered: