feat: expose build information

This commit is contained in:
2025-03-06 19:27:02 -05:00
parent b20beb6e88
commit 4d3947c4ef
12 changed files with 105 additions and 15 deletions

View File

@@ -3,7 +3,7 @@ use futures::executor::block_on;
use mlua::{Function, Lua, Result, Table};
use std::time::{SystemTime, UNIX_EPOCH};
pub fn register_functions(lua: &Lua, globals: &Table, event_listeners: ListenerMap) -> Result<()> {
pub fn register_globals(lua: &Lua, globals: &Table, event_listeners: ListenerMap) -> Result<()> {
let m = event_listeners.clone();
globals.set(
"add_listener",