rlua 0.19.8

High level bindings to Lua 5.x
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
extern crate rlua;

use std::panic::catch_unwind;

use rlua::Lua;

fn main() {
    let lua = Lua::new();
    catch_unwind(|| {
        //~^ error: the type `UnsafeCell<()>` may contain interior mutability and a reference
        // may not be safely transferrable across a catch_unwind boundary
        lua.context(|lua| {
            lua.create_table().unwrap();
        });
    });
}