Fix _VERSION global not being set correctly after crate refactor

This commit is contained in:
Filip Tibell 2024-06-23 13:22:03 +02:00
parent 9993e03f04
commit a7ac864ca5
No known key found for this signature in database

View file

@ -57,6 +57,7 @@ impl RuntimeInner {
feature = "std-task", feature = "std-task",
))] ))]
{ {
lune_std::set_global_version(lua, env!("CARGO_PKG_VERSION"));
lune_std::inject_globals(lua)?; lune_std::inject_globals(lua)?;
} }