giann/croissant

Prints out wrong LuaJIT banner

averms opened this issue · 1 comments

I'm running git HEAD from https://github.com/LuaJIT/LuaJIT/tree/v2.1/ so my LuaJIT banner is

LuaJIT 2.1.0-beta3 -- Copyright (C) 2005-2021 Mike Pall. https://luajit.org/

but croissant prints out

LuaJIT Copyright (C) 2005-2017 Mike Pall. http://luajit.org/

There's no way to programmatically discover the correct banner to print AFAIK. Maybe it should just print out _VERSION if PUC-Rio Lua and jit.version if LuaJIT.

I'm happy to send a patch btw.

giann commented

Good point! Go ahead 👍