You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
external/LuaJIT-2.1: switch to WohlSoft v2.1 fork tip @ dfcb8651 (2026-04-25)
Re-adopts the WohlSoft fork after the Feb 2023 swap to upstream sources
(485d7f2), pinning to current tip @ dfcb8651 (2026-04-25). WohlSoft
tracks upstream LuaJIT/LuaJIT v2.1 closely (7 commits behind as of
today), so this also catches ~3-4 years of upstream LuaJIT fixes since
the 2022 baseline, notably the recent JIT/interpreter consistency work.
WohlSoft's UTF-8 path patch ships in this drop via lj_fopen.c /
lj_fopen.h but stays dormant: CCCP's build doesn't define
LUAJIT_FORCE_UTF8_FOPEN, so _lua_fopen / _lua_freopen macro to plain
fopen / freopen, identical to upstream LuaJIT's Windows behavior.
Available as a future toggle if we want UTF-8 Windows paths.
Added lj_fopen.c to src/meson.build + libluajit.vcxproj. Preserves CCCP
build glue (meson.build, meson_options.txt, libluajit.vcxproj,
msvc-prebuild.bat, msvc-postbuild.bat). src/luajit.h regenerated from
the new luajit_rolling.h template (rolling version 1777102609 matching
dfcb8651).
Rebuilds _Bin/*.lib from the new source so Windows still links;
follow-up PR drops the prebuilts entirely and wires libluajit.vcxproj
into RTEA.sln.
Verified clean on Windows MSBuild (Final / Debug Full / Debug Minimal /
Debug Release, x64) + Linux Meson via WSL2. macOS-arm64 deferred to CI.
WohlSoft v2.1 is 7 commits behind upstream LuaJIT/LuaJIT v2.1 as of
2026-05-26 (recent sanitizer fixes); can sync in a follow-up if WohlSoft
hasn't picked them up by then.
Copy file name to clipboardExpand all lines: external/sources/LuaJIT-2.1/README.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,25 @@
1
-
README for LuaJIT 2.1.0-beta3
2
-
-----------------------------
1
+
# LuaJIT + CMake & UTF8-paths-on-Windows
2
+
There is the modified version of LuaJIT that has the next difference from the original version:
3
+
* In addition to its default GNU Make-based build, there is a CMake-based build was added
4
+
* Enforces the UTF-8 charset for file system-related functions to ensure the equal result on all supported platforms (without this addition, locale-depending ANSI charsets used on Windows) (You should specify the `-DLUAJIT_FORCE_UTF8_FOPEN=ON` CMake option to enable this feature)
5
+
6
+
If you find a bug using CMake build, please **DON'T REPORT IT TO OFFICIAL LuaJIT developers**, as they refuse to take the CMake building system support. So, you MUST verify the [latest original version](https://github.com/LuaJIT/LuaJIT) using the GNU Make-based building system to ensure that the same bug gets reproduced too:
7
+
* If the bug gets reproduced at both CMake and GNU-Make-based builds, feel free to report the bug to [official LuaJIT developers](https://github.com/LuaJIT/LuaJIT/issues).
8
+
* If the bug gets reproduced at the CMake-based build only, however, doesn't reproduce at the official GNU-Make-based build, you [should report this bug to me](https://github.com/WohlSoft/LuaJIT/issues).
9
+
10
+
# Original readme
11
+
## README for LuaJIT 2.1
12
+
---------------------
3
13
4
14
LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.
5
15
6
16
Project Homepage: https://luajit.org/
7
17
8
-
LuaJIT is Copyright (C) 2005-2022 Mike Pall.
18
+
LuaJIT is Copyright (C) 2005-2025 Mike Pall.
9
19
LuaJIT is free software, released under the MIT license.
10
20
See full Copyright Notice in the COPYRIGHT file or in luajit.h.
11
21
12
22
Documentation for LuaJIT is available in HTML format.
0 commit comments