Rootspring
Rootspring
This PR adds support for continuation functions in all Lua versions other than Lua 5.1 and LuaJIT with support for the Luau yieldable continuations fflag as well as the prerequisite...
Currently, if user code exhausts the stack, then mlua will fully panic (see https://github.com/mlua-rs/mlua/blob/b57a6239a6544a831514fe6a23b59f55cd56779c/src/state/util.rs#L174). In such a case, mlua should either fallback from auxiliary thread stack to registry or operate...
The current mlua thread API seems to push the values into the main Lua stack first before using ``xmove`` to move the pushed values from main stack to the thread...
I opened a PR for basic yielding + continuations recently and it would be nice if the PR could be reviewed sooner than later: https://github.com/mlua-rs/mlua/pull/588 It includes both yielding for...
E.g. using ``lua_close``. Following a close operation, safety could (probably) be ensured by disallowing any Lua VM operations whatsoever. Right now you need to drop all references to Lua VM...
This normally doesn't matter much unless the userdata struct itself is generic. E.g. ``` pub struct Foo { pub foo: T } impl LuaUserData for Foo { } ``` In...
I currently have ~50-100 lines of code to do exactly what the (private) Chunk::try_cache method does but worse. It would be nice if Chunk::try_cache could be exposed as such. Also,...
Luau apparently supports breakpoints using lua_breakpoint API. Can support for this be added?
``` --!strict export type Foo = { foo: string, } export type Bar = Foo & { copy: (...any) -> any } export type Baz = Foo & { stats:...
I'm just curious as to when ``GODEBUG=invalidptr=0,cgocheck=0`` is required. For example, would the below break (this is what I currently need as my usecase is converting legacy file format that...