Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-05 | format with up-to-date rustfmt | kyren | |
2018-03-19 | Small renames and comments to better communicate the intention of stack ↵ | kyren | |
checking functions | |||
2018-03-12 | Fix some bad potential unsafety on inner callback calls. | kyren | |
Since we now optionally use stack spaces for handle values, we have to be mindful of whether our stack handle points to the stack in an outer level of Lua "stack protection". We now keep track of the "recursion level" of Lua instances, and do not allow ref manipulation on "outer" Lua instances until the inner callback has returned. Also, update the documentation to reflect the additional panic behavior. | |||
2018-03-12 | Documentation improvements, split scope into its own module, improved tests | kyren | |
Also makes `Lua` and associated types !UnwindSafe and !RefUnwindSafe, which they should be because they are intensely internally mutable. Lua IS still panic safe, but that doesn't mean it should be marked as UnwindSafe (as I understand it). |