-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
luajit: opening standard library fails #64
Comments
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!
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!
|
The individual lua.load*() function where incorrectly loading the libraries. The docs mention to use lua_call or requireF instead of calling the function directly. Closes #64
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: #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:The text was updated successfully, but these errors were encountered: