From 7dc7d8edbeb683b465e5a1c47786187849a372d8 Mon Sep 17 00:00:00 2001 From: kyren Date: Mon, 22 May 2017 16:40:43 -0400 Subject: [PATCH] Update README --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0a5ea80..e939977 100644 --- a/README.md +++ b/README.md @@ -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