upgrade winit

This commit is contained in:
2025-11-04 23:32:55 -06:00
parent 98c95b55f4
commit eca9c3236d
7 changed files with 1650 additions and 660 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ use vcore::memory::{PeekPoke, PeekPokeExt};
use std::iter::FromIterator;
#[mlua::lua_module]
fn libvlua(lua: &Lua) -> LuaResult<LuaTable> {
fn libvlua(lua: &Lua) -> LuaResult<LuaTable<'_>> {
let exports = lua.create_table()?;
let cpu_constructor = lua.create_function(|_, _: ()| Ok(LuaCPU(CPU::new_random())))?;
exports.set("new", cpu_constructor)?;