From a7ac864ca59ba849df213220f85e4b05d0e83d6a Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Sun, 23 Jun 2024 13:22:03 +0200 Subject: [PATCH] Fix _VERSION global not being set correctly after crate refactor --- crates/lune/src/rt/runtime.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/lune/src/rt/runtime.rs b/crates/lune/src/rt/runtime.rs index 08a601c..1aa2ace 100644 --- a/crates/lune/src/rt/runtime.rs +++ b/crates/lune/src/rt/runtime.rs @@ -57,6 +57,7 @@ impl RuntimeInner { feature = "std-task", ))] { + lune_std::set_global_version(lua, env!("CARGO_PKG_VERSION")); lune_std::inject_globals(lua)?; }