diff --git a/src/util/mod.rs b/src/util/mod.rs index 46960bd9..699bfc1c 100644 --- a/src/util/mod.rs +++ b/src/util/mod.rs @@ -1045,6 +1045,8 @@ pub(crate) unsafe fn to_string(state: *mut ffi::lua_State, index: c_int) -> Stri ffi::LUA_TTHREAD => format!("", ffi::lua_topointer(state, index)), #[cfg(feature = "luau")] ffi::LUA_TBUFFER => format!("", ffi::lua_topointer(state, index)), + #[cfg(feature = "luajit")] + ffi::LUA_TCDATA => format!("", ffi::lua_topointer(state, index)), _ => "".to_string(), } }