mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
don't auto load os lib
This commit is contained in:
parent
80ff84d3ed
commit
037aa8bd07
1 changed files with 2 additions and 1 deletions
3
linit.c
3
linit.c
|
|
@ -45,7 +45,8 @@ static const luaL_Reg loadedlibs[] = {
|
|||
{LUA_COLIBNAME, luaopen_coroutine},
|
||||
{LUA_TABLIBNAME, luaopen_table},
|
||||
{LUA_IOLIBNAME, luaopen_io},
|
||||
{LUA_OSLIBNAME, luaopen_os},
|
||||
// RUSEFI: don't auto load OS lib
|
||||
// {LUA_OSLIBNAME, luaopen_os},
|
||||
{LUA_STRLIBNAME, luaopen_string},
|
||||
{LUA_MATHLIBNAME, luaopen_math},
|
||||
{LUA_UTF8LIBNAME, luaopen_utf8},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue