mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
tests/main.cpp: Add Windows-only code for running test contexts under a thread with enough stack space regardless of the build settings of the compiler. GCC/Clang/MSVC settings for stack size are wildly varied and this is a catch all solution instead. This only failed on mingw64/clang. mingw32/gcc and mingw64/gcc continued working without this change. CLI/Reduce.cpp: Never worked under MinGW as-is. Add check for MinGW as they're defined. VM/src/lmem.cpp: MinGW layout follows more closely MSVC. Checks before were only correct for 32-bit gcc / clang in non-Windows. NOTES: __MINGW32__ is defined on both 32-bit and 64-bit, __MINGW64__ is 64-bit only. 32-bit MinGW compilers (both Clang & GCC) have a floating point test error on math.noise, specifically math.lua:258. All other test cases / unit tests pass. Math begins deviating at `perlin_fade`. |
||
---|---|---|
.. | ||
Analyze.cpp | ||
Ast.cpp | ||
Compile.cpp | ||
Coverage.cpp | ||
Coverage.h | ||
FileUtils.cpp | ||
FileUtils.h | ||
Flags.cpp | ||
Flags.h | ||
Profiler.cpp | ||
Profiler.h | ||
Reduce.cpp | ||
Repl.cpp | ||
Repl.h | ||
ReplEntry.cpp | ||
Web.cpp |