Skip to content

Build Lua with LUA_USE_LONGJMP on web platform - #241

Merged
gilzoide merged 2 commits into
mainfrom
bugfix/web-coroutine
Jul 10, 2026
Merged

Build Lua with LUA_USE_LONGJMP on web platform#241
gilzoide merged 2 commits into
mainfrom
bugfix/web-coroutine

Conversation

@gilzoide

Copy link
Copy Markdown
Owner

This works around Godot web template not being compiled with support for exceptions.
⚠️ Yielding from coroutines leak memory in this case!
Fixes #239.

This works around Godot web template not being compiled with support for exceptions, although yielding from coroutines may leak memory.
[skip ci]
@gilzoide
gilzoide merged commit cdb2c75 into main Jul 10, 2026
@gilzoide
gilzoide deleted the bugfix/web-coroutine branch July 10, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lua await() does not work on web export

1 participant