diff --git a/src/util.rs b/src/util.rs index 66b26e7..888f57c 100644 --- a/src/util.rs +++ b/src/util.rs @@ -942,6 +942,8 @@ pub unsafe fn init_error_registry(state: *mut ffi::lua_State) -> Result<()> { "__pairs", #[cfg(any(feature = "lua53", feature = "lua52", feature = "luajit52"))] "__ipairs", + #[cfg(feature = "luau")] + "__iter", #[cfg(feature = "lua54")] "__close", ] {