This is an automated email from the ASF dual-hosted git repository.
twice pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/incubator-kvrocks.git
The following commit(s) were added to refs/heads/unstable by this push:
new 9c4d1a9 Bump luaJIT commit and cleanup duplicate declarations (#757)
9c4d1a9 is described below
commit 9c4d1a989ab19357870de88f685a3b0c78454b20
Author: Twice <[email protected]>
AuthorDate: Wed Jul 27 19:47:34 2022 +0800
Bump luaJIT commit and cleanup duplicate declarations (#757)
---
cmake/luajit.cmake | 4 ++--
src/scripting.cc | 5 -----
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/cmake/luajit.cmake b/cmake/luajit.cmake
index fd60105..9da0111 100644
--- a/cmake/luajit.cmake
+++ b/cmake/luajit.cmake
@@ -20,8 +20,8 @@ include_guard()
include(cmake/utils.cmake)
FetchContent_DeclareGitHubWithMirror(luajit
- KvrocksLabs/LuaJIT 803487f8b01c672495a2fcd29dcbed09e4fd6319
- MD5=cd08841342cd933fb7e3d6d4253fbeec
+ KvrocksLabs/LuaJIT b80ea0e44bd259646d988324619612f645e4b637
+ MD5=f9566c424fb57b226066e3a39a10ec8d
)
FetchContent_GetProperties(luajit)
diff --git a/src/scripting.cc b/src/scripting.cc
index caaa8e7..19d1d04 100644
--- a/src/scripting.cc
+++ b/src/scripting.cc
@@ -74,11 +74,6 @@ enum {
LL_WARNING,
};
-LUALIB_API int (luaopen_cjson)(lua_State *L);
-LUALIB_API int (luaopen_struct)(lua_State *L);
-LUALIB_API int (luaopen_cmsgpack)(lua_State *L);
-LUALIB_API int (luaopen_bit)(lua_State *L);
-
namespace Lua {
lua_State* CreateState() {
lua_State *lua = lua_open();