diff --git a/CMakeLists.txt b/CMakeLists.txt index 5275b951..d4cb7abf 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -167,7 +167,7 @@ endif() set(MEGA_ZLIB_VER "1.2.12") set(MEGA_LUA51_VER "5.1.5") -set(MEGA_LUAJIT_VER "2.1.0-1c27912") +set(MEGA_LUAJIT_VER "2.1.0-e826d0c") set(MEGA_LIBOGG_VER "1.3.2") set(MEGA_LIBVORBIS_VER "1.3.5") set(MEGA_LIBTHEORA_VER "1.1.1") diff --git a/libs/LuaJIT/.relver b/libs/LuaJIT/.relver index f10565fc..b1c66483 100644 --- a/libs/LuaJIT/.relver +++ b/libs/LuaJIT/.relver @@ -1 +1 @@ -1694316387 +1697887905 diff --git a/libs/LuaJIT/doc/extensions.html b/libs/LuaJIT/doc/extensions.html index eb591d1e..a4f20841 100644 --- a/libs/LuaJIT/doc/extensions.html +++ b/libs/LuaJIT/doc/extensions.html @@ -426,9 +426,7 @@ the toolchain used to compile LuaJIT: on the C stack. The contents of the C++ exception object pass through unmodified.
  • Lua errors can be caught on the C++ side with catch(...). -The corresponding Lua error message can be retrieved from the Lua stack.
    -For MSVC for Windows 64 bit this requires compilation of your C++ code -with /EHa.
  • +The corresponding Lua error message can be retrieved from the Lua stack.
  • Throwing Lua errors across C++ frames is safe. C++ destructors will be called.
  • diff --git a/libs/LuaJIT/doc/install.html b/libs/LuaJIT/doc/install.html index be721031..04bfe26d 100644 --- a/libs/LuaJIT/doc/install.html +++ b/libs/LuaJIT/doc/install.html @@ -203,7 +203,7 @@ Or install Microsoft's Visual Studio (MSVC).

    Building with MSVC

    -Open a "Visual Studio Command Prompt" (either x86 or x64), cd to the +Open a "Visual Studio Command Prompt" (x86, x64 or ARM64), cd to the directory with the source code and run these commands:

    @@ -214,6 +214,9 @@ msvcbuild
     Check the msvcbuild.bat file for more options.
     Then follow the installation instructions below.
     

    +

    +For an x64 to ARM64 cross-build run this first: vcvarsall.bat x64_arm64 +

    Building with MinGW or Cygwin

    Open a command prompt window and make sure the MinGW or Cygwin programs diff --git a/libs/LuaJIT/doc/running.html b/libs/LuaJIT/doc/running.html index 3afc1b56..9dd2b411 100644 --- a/libs/LuaJIT/doc/running.html +++ b/libs/LuaJIT/doc/running.html @@ -120,7 +120,8 @@ file name: