diff options
author | Alex Orlenko <zxteam@protonmail.com> | 2022-05-16 20:11:47 +0100 |
---|---|---|
committer | Alex Orlenko <zxteam@protonmail.com> | 2022-05-16 20:29:02 +0100 |
commit | 8d71ea79aa6ccd01a399c4720591e94a8e15731c (patch) | |
tree | a57e144a7235de9164519ce312d3cd53ebbbe314 /src/function.rs | |
parent | 2a8c5c7f82e1b8cc2f9c0ef572756e5c16ae90b1 (diff) | |
download | mlua-8d71ea79aa6ccd01a399c4720591e94a8e15731c.zip |
Cache bytecode for internal Lua chunks
Diffstat (limited to 'src/function.rs')
-rw-r--r-- | src/function.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/function.rs b/src/function.rs index 8e415d7..541627f 100644 --- a/src/function.rs +++ b/src/function.rs @@ -223,6 +223,7 @@ impl<'lua> Function<'lua> { end "#, ) + .try_cache() .set_name("_mlua_bind")? .call((self.clone(), args_wrapper)) } |