diff options
author | Alex Orlenko <zxteam@protonmail.com> | 2021-06-12 18:00:55 +0100 |
---|---|---|
committer | Alex Orlenko <zxteam@protonmail.com> | 2021-06-12 18:00:55 +0100 |
commit | 3b9d8a7b5f521e80683fc5b54a039b609c4b5b8c (patch) | |
tree | 6520f376743c56f5230a0245604b58be37f62ecb /src/ffi/mod.rs | |
parent | 0fe898c0ddda8e567ce0506eb518001db9419d84 (diff) | |
download | mlua-3b9d8a7b5f521e80683fc5b54a039b609c4b5b8c.zip |
Keep all Lua symbols in unsafe mode to load C modules
Diffstat (limited to 'src/ffi/mod.rs')
-rw-r--r-- | src/ffi/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ffi/mod.rs b/src/ffi/mod.rs index 87bfa9b..4b9ff32 100644 --- a/src/ffi/mod.rs +++ b/src/ffi/mod.rs @@ -280,6 +280,9 @@ pub const SYS_MIN_ALIGN: usize = 8; )))] pub const SYS_MIN_ALIGN: usize = 16; +// Re-rexport all symbols +pub use symbols::keep_lua_symbols; + #[allow(unused_imports, dead_code, non_camel_case_types)] #[allow(clippy::unreadable_literal)] mod glue { @@ -293,5 +296,6 @@ mod lauxlib; mod lua; mod luaconf; mod lualib; +mod symbols; pub mod safe; |