Investigate mlua as replacement for luajit2-sys #123
Labels
No labels
ci
crate/dtmm
crate/dtmt
crate/sdk
crate/serde_sjson
kind
bug
kind
documentation
kind
enhancement
kind
feature
kind
question
kind
upstream
part/bundle
part/filetype
stage
actionable
stage
design
stage
proposal
status/duplicate
status/good first issue
status/help wanted
status/invalid
status
need-replicate
status/wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: bitsquid_dt/dtmt#123
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
luajit2-sys
bindings work, but are a bit cumbersome to work with.The most important aspect to watch out for in the replacement is that we need LuaJIT at a specific version, such that the bytecode we create with
string.dump
is compatible with what the game wants.The fork of
luajit2-sys
is sitting at a very specific commit for that reason.mlua
would need some way of selecting the LuaJIT version it compiles, as well.