Alex Orlenko

Results 128 comments of Alex Orlenko

@chipsenkbeil In distant CI you build module for Windows using the following configuration: https://github.com/chipsenkbeil/distant/blob/master/.github/workflows/ci-windows.yml ```yaml env: LUA_INC: ${{ github.workspace }}\.lua\include LUA_LIB: ${{ github.workspace }}\.lua\lib LUA_LIB_NAME: lua ``` which links module...

Unfortunately distant v0.15.1 for Windows is still requires `lua.dll` :(

@chipsenkbeil `LUA_LIB_NAME` only sets which `.lib` file to use (it controls `-l` option for linker). DLL library name is defined inside that lib file for dynamic linking (as I understand...

Yes, I'm working on a new version

The (Lua) source code is only packaged with `vendored` or `luau` option. I'd love to move some types def to a new crate, but I'm afraid the current definition of...

You don't need to fork mlua if prefer to use your own `luajit-src` crate. You can [override](https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html) the dependency to use your fork via `Cargo.toml`: ```toml [patch.crates-io] luajit-src = {...

Are there any reasons to use LuaJIT 2.0.5 in vendored mode? I can understand when you have an external luajit library that you want to use, and mlua supports this...

Thanks! I agree that `'lua` lifetime makes many things quite complex. I've been thinking about removing it and have non-published implementation of about the same. Also thinking about making Lua...

I'd love to see this change, but the main concern is performance implications. To untie `Value` from `'lua` lifetime we need to keep `Weak` reference to `Lua` inside. Then every...

> mapping a Struct to a table containing Functions is not possible: Could you explain please? You can implement To/From Lua for structs that contains references to Lua. Also if...