evo-lua / evo-luvi

[Obsolete] Experimental Lua runtime environment built on Luvi (libuv + LuaJIT)
https://evo-lua.github.io
Apache License 2.0
1 stars 0 forks source link

Update the build configuration to always include debug symbols in LuaJIT bytecode objects #140

Closed rdw-software closed 1 year ago

rdw-software commented 1 year ago

Goals:

This helps LuaJIT produce human-readable stack traces:

image

The only question is what the most convenient way to use this is.

Maybe it's even worth always including those symbols in release builds ?


Split off from #4 since it's a trivial change that can already be implemented.

rdw-software commented 1 year ago

As for always including debug symbols:

Considering this is a huge QOL boost and averages to about 0.75KB per linked Lua file... I am inclined to just enable this by default.