don't auto load os lib

This commit is contained in:
Matthew Kennedy 2021-05-16 18:29:33 -07:00 committed by rusefillc
parent f1cf472e73
commit 108bbe3cad
1 changed files with 2 additions and 1 deletions

View File

@ -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},