Browse Source
https://github.com/godotengine/godot/issues/31297 - HTML5: this.rtenv.callMain is not a function when using latest-upstream backend
Added needed changed for normal compiling with emscripten 1.38.41 and later
(cherry picked from commit 3c176827d6f67ae09ba4406507a0a927e3d51dee)