diff options
author | kyren <kerriganw@gmail.com> | 2017-05-22 16:40:43 -0400 |
---|---|---|
committer | kyren <kerriganw@gmail.com> | 2017-05-22 18:09:22 -0400 |
commit | 7dc7d8edbeb683b465e5a1c47786187849a372d8 (patch) | |
tree | adc71932ffe2a440e76efaf326fbcfc2c67c91cd /README.md | |
parent | 5c0f183a52ec65bf0c5422cc849138a457e0a5eb (diff) | |
download | mlua-7dc7d8edbeb683b465e5a1c47786187849a372d8.zip |
Update README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -60,7 +60,7 @@ in rustc. For example: callback. Until then, it is impossible to name the type of the function that would do the wrapping. * Once tuple based variadic generics land, the plan is to completely - eliminate the lua multi macros in favor of simple tuples. + eliminate the hlist macros in favor of simple tuples. See [this reddit discussion](http://www.reddit.com/r/rust/comments/5yujt6/) for details of the current lifetime problem with callback wrapping. @@ -80,6 +80,8 @@ of the crate "Work In Progress". The GOAL is for the crate to handle tricky situations such as: * Panic safety, and carrying the panic across the lua api correctly + * Passing rust panics across the lua boundary as lua errors without allowing + lua to catch rust panics as normal errors. * Lua stack size checking, and correctly handling lua being out of stack space * Leaving the correct elements on the lua stack and in the correct order, @@ -87,7 +89,7 @@ situations such as: * Correctly guarding the metatables of userdata so that scripts cannot, for example, swap the `__gc` methods around and cause UB. -The library currently attempts to handle each of these situations, but there +The library currently *attempts* to handle each of these situations, but there are so many ways to cause unsafety with Lua that it just needs more testing. ## Examples |