lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> #define LUA_NO_DEBUGLIB 1
> #define LUA_NO_IOLIB 1
> #define LUA_NO_OSLIB 1
> #define LUA_NO_TABLELIB 1
> #define LUA_NO_BITLIB 1

All this is easy: just remove the corresponding lines in lualibs in linit.c.
Or use LUA_INIT with "debug=nil;io=nil;os=nil;table=nil;bit=nil".
Or lua -e "debug=nil;io=nil;os=nil;table=nil;bit=nil".