Closed rockorager closed 7 months ago
Note: this does happen with 5.1 also. My original text said 5.1 worked but I have verified it doesn't (same error).
Hey!
that opening the standard libraries with it fails
Do you mean it segfaults/panics? I ran into this recently and I have a TODO comment to look into this more. If that's the case, I'll re-prioritize it and work on it sooner!
I think loadFile is one of the last functions that doesn't have test coverage (I just never got around to adding it). So I'll make sure to get that tested!
Do you mean it segfaults/panics? I ran into this recently and I have a TODO comment to look into this more. If that's the case, I'll re-prioritize it and work on it sooner!
Yep, my bad...it segfaults. Thanks for looking into it!
Turns out the functions for opening libraries aren't meant to be called directly. Thanks again for reporting this!
I made a separate issue for loadFile: https://github.com/natecraddock/ziglua/issues/69
I know luajit support is in it's infancy but wanted to report that opening the standard libraries with it fails. I can swap out for 5.2 through 5.4 and
openLibs
oropenBase
work fine, but luajit fails: