Skip to content

Commit

Permalink
Fix _VERSION global not being set correctly after crate refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptibell committed Jun 23, 2024
1 parent 9993e03 commit a7ac864
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/lune/src/rt/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ impl RuntimeInner {
feature = "std-task",
))]
{
lune_std::set_global_version(lua, env!("CARGO_PKG_VERSION"));
lune_std::inject_globals(lua)?;
}

Expand Down

0 comments on commit a7ac864

Please sign in to comment.