Fix compiling Lua on Windows #111

Merged
lucas merged 3 commits from issue/110 into master 2023-04-09 14:43:18 +02:00
Owner

Fixes #110.

Fixes #110.
lucas added this to the DTMM v1.0 + DTMT milestone 2023-04-09 14:41:39 +02:00
lucas added 3 commits 2023-04-09 14:41:40 +02:00
This stops docker from creating build files as root, which in turn
require root permissions to clean.
This re-enables stdout/stderr logging for release binaries for DTMM.
As a GUI application, it usually won't be started from a CLI, and there
should be no negative impact from that.
But since stdout logging is synchronous and much faster than the async
action that writes to the log file, it might get to log more when the
application panics.
The previous fix when the compiled bytecode wasn't accepted by the game
did work fine for Linux. But apparently on Windows, it procudes a stack
overflow when attempting to open a Lua state.

This reverts LuaJIT to a commit from 2019, which is quite old, but does
work. Further investigation is needed to determine if or how never
versions of LuaJIT could be used.

Fixes #110.
lucas merged commit af6c2e9f82 into master 2023-04-09 14:43:18 +02:00
lucas deleted branch issue/110 2023-04-09 14:43:18 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: bitsquid_dt/dtmt#111
No description provided.