about summary refs log tree commit diff stats
path: root/src/linit.c
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-02-06 13:12:46 -0800
committerKartik K. Agaram <vc@akkartik.com>2022-02-06 13:12:46 -0800
commit8a9efc1b9171b22fc254e6e533cf9e364b273807 (patch)
tree045a5a629acae9af1aa3f77365cffc7dec7b2bfe /src/linit.c
parentb79d6be383b1ab6eae85595abccf36aaf833016d (diff)
downloadteliva-8a9efc1b9171b22fc254e6e533cf9e364b273807.tar.gz
drop module 'package'
Just like with `require`, we don't we don't know how to sandbox it.

(Though we still have `require` because standard libraries outside apps
need it. I need to make sure apps can't invoke `require`..)
Diffstat (limited to 'src/linit.c')
-rw-r--r--src/linit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/linit.c b/src/linit.c
index b22d822..fd32a0d 100644
--- a/src/linit.c
+++ b/src/linit.c
@@ -16,7 +16,6 @@
 
 static const luaL_Reg lualibs[] = {
   {"", luaopen_base},
-  {LUA_LOADLIBNAME, luaopen_package},
   {LUA_TABLIBNAME, luaopen_table},
   {LUA_IOLIBNAME, luaopen_io},
   {LUA_OSLIBNAME, luaopen_os},