mlua
mlua copied to clipboard
High level Lua 5.4/5.3/5.2/5.1 (including LuaJIT) and Roblox Luau bindings to Rust with async/await support
I am using the following features and I recieved a ton of linker errors when using the linux musl target. Any ideas how I can get this to build statically...
It would be very convenient to have bindings to the `luaL_loadfile` function from mlua in order to easily load lua files. EDIT: I'd be happy to contribute :D
c85616137a367a72367a7d3f6019a5816ee5aa7b, Fedora 35 ``` ┌ (master) ~/s/r/mlua └─ env CFLAGS=-m32 LDFLAGS=-m32 cargo build --features=vendored,luajit --target=i686-pc-windows-gnu Compiling proc-macro2 v1.0.36 Compiling unicode-xid v0.2.2 Compiling syn v1.0.89 Compiling serde_derive v1.0.136 Compiling cc v1.0.73...
sorry,I checked the document carefully, but still failed to compile it. Who can provide me with detailed help. and ,I don't want to install visual studio, can I just use...
Creating a userdata method with a LightUserData as an argument, then passing a void pointer to that method, causes the following error: `thread '' panicked at 'mlua internal error: LUA_TNONE...
TypeID id's are not stable, as it is still not reliably collision resistant, and the hash generated is expected to change between Rust versions: [rust#77125](https://github.com/rust-lang/rust/issues/77125). This makes it a poor...
Is it planned/possible?
Related code: https://github.com/khvzak/mlua/blob/cfb5d3fd45a810e5cde6811b039d154241d1444c/src/lua.rs#L332-L399 `fn allocator` include luajit feature, but it is not used when new lua state.
I'm currently making a little cross-platform game as a side project where I want to use Lua but realized that unfortunately mlua doesn't support iOS yet. Did some digging myself...