Fix modules compilation after switching to 2024 edition in mlua_derive

This commit is contained in:
Alex Orlenko
2026-05-16 00:30:25 +01:00
parent 1573dd1242
commit 72de602ec3
+1 -1
View File
@@ -72,7 +72,7 @@ pub fn lua_module(attr: TokenStream, item: TokenStream) -> TokenStream {
#func
#[no_mangle]
#[unsafe(no_mangle)]
unsafe extern "C-unwind" fn #ext_entrypoint_name(state: *mut mlua::lua_State) -> ::std::os::raw::c_int {
mlua::Lua::entrypoint1(state, move |lua| {
#skip_memory_check