Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

Commit

Permalink
Sync to 0.582
Browse files Browse the repository at this point in the history
  • Loading branch information
RadiatedExodus committed Jun 25, 2023
1 parent 9668f6a commit c00ca0e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ option(LUAU_STATIC_CRT "Link with the static CRT (/MT)" OFF)
add_subdirectory(luau)

add_executable(LuauInLuau main.cpp)
target_compile_options(LuauInLuau PRIVATE -sLINKABLE=1 -sEXPORT_ALL=1)
target_link_libraries(LuauInLuau Luau.Compiler)
target_link_libraries(LuauInLuau Luau.VM)
2 changes: 1 addition & 1 deletion luau
Submodule luau updated from 3ecd3a to 76bea8
22 changes: 11 additions & 11 deletions snippets/ExtraCodeSnippet.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
--// Named function dictionary
local NamedFunctionList = {
--// Luau
["luau_compile"] = FUNC_LIST[756];
["luaL_newstate"] = FUNC_LIST[1085];
["luaL_openlibs"] = FUNC_LIST[1082];
["lua_close"] = FUNC_LIST[1152];
["luaL_sandbox"] = FUNC_LIST[1083];
["lua_tolstring"] = FUNC_LIST[787];
["luaL_pushresult"] = FUNC_LIST[891];
["luau_compile"] = FUNC_LIST[762];
["luaL_newstate"] = FUNC_LIST[1091];
["luaL_openlibs"] = FUNC_LIST[1088];
["lua_close"] = FUNC_LIST[1158];
["luaL_sandbox"] = FUNC_LIST[1090];
["lua_tolstring"] = FUNC_LIST[793];
["luaL_pushresult"] = FUNC_LIST[897];

--// Standard Library
["dlmalloc"] = FUNC_LIST[3449];
["dlfree"] = FUNC_LIST[3450];
["strlen"] = FUNC_LIST[3195];
["dlmalloc"] = FUNC_LIST[3453];
["dlfree"] = FUNC_LIST[3454];
["strlen"] = FUNC_LIST[3199];

--// WebAssembly
["__wasm_call_ctors"] = FUNC_LIST[350];
Expand All @@ -24,7 +24,7 @@ local NamedFunctionList = {
["SetLuauFlag"] = FUNC_LIST[353];

--// Macros
["lua_tostring"] = function(L, i) return FUNC_LIST[787](L, i, 0) end; --// lua_tolstring
["lua_tostring"] = function(L, i) return FUNC_LIST[793](L, i, 0) end; --// lua_tolstring
}

--// Pre-init environment function setup
Expand Down

0 comments on commit c00ca0e

Please sign in to comment.