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)?; }