lilpack.runtime_check

lilpack

runtime_check(manifest) -> nil | err

Check a manifest's minimum version against the running runtime

The binary sets one global at startup, named after the base it was built on: LILUSH_VERSION under lilush, LILGAME_VERSION under lilgame. The check reads the manifest key that matches the global it finds, min_lilush_version or min_lilgame_version, and ignores the other. Returns nil when the key is satisfied or absent, or when no global is set (plain luajit in tests). Returns requires <base> >= <min> (running <cur>) on a miss.