Skip to content
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

[Web] Require threads, rtti, allow optimize=speed. #65094

Merged
merged 1 commit into from
Aug 30, 2022

Conversation

Faless
Copy link
Collaborator

@Faless Faless commented Aug 30, 2022

Update export names (web[_dlink]_[release|debug].zip).

The Build with dynamic linking is broken due to high number of imports
in output wasm (likely emscripten issue emscripten-core/emscripten#15487).

godotengine/godot-build-scripts#62 will need update.
Closes #65070

@Faless Faless added this to the 4.0 milestone Aug 30, 2022
@Faless Faless requested review from a team as code owners August 30, 2022 16:39
@Faless Faless force-pushed the web/4.x_templates_refactor branch 2 times, most recently from 41aae1e to cbd777a Compare August 30, 2022 16:40
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me, just needs a style fix to pass CI.

I'll handle updating the build scripts.

platform/web/detect.py Outdated Show resolved Hide resolved
platform/web/detect.py Outdated Show resolved Hide resolved
Update export names (web[_dlink]_[release|debug].zip).

The Build with dynamic linking is broken due to high number of imports
in output wasm (likely emscripten regression issue 15487).
@Faless Faless force-pushed the web/4.x_templates_refactor branch from cbd777a to f958f00 Compare August 30, 2022 18:01
@akien-mga akien-mga merged commit 87f9038 into godotengine:master Aug 30, 2022
@akien-mga
Copy link
Member

Thanks!

@Faless Faless deleted the web/4.x_templates_refactor branch August 30, 2022 22:15
@Geequlim
Copy link
Contributor

Geequlim commented Sep 2, 2022

Good work!

@Geequlim
Copy link
Contributor

Geequlim commented Sep 2, 2022

The singleton and class named JavaScript is still in godot global namespace.
How about rename it to WebAPI, WebScriptBridge or something else ?

@Geequlim
Copy link
Contributor

Geequlim commented Sep 2, 2022

Or just to be Web for the platform singleton.

@Faless
Copy link
Collaborator Author

Faless commented Sep 2, 2022

The JavaScript singleton is mainly an interface for interacting with JavaScript code, like JavaClassWrapper in the android platform, so I'm not sure calling it Web* makes much sense.
Maybe JavaScriptWrapper or JavaScriptBridge?

akien-mga added a commit to godotengine/godot-build-scripts that referenced this pull request Sep 7, 2022
Follow-up to godotengine/godot#65094.

Also reverts LTO change from #62, we found that while it's much slower
to link, full LTO still produces smaller binaries and that's quite
important for the Web platform.
akien-mga added a commit to godotengine/godot-build-scripts that referenced this pull request Sep 7, 2022
Follow-up to godotengine/godot#65094.

Also reverts LTO change from #62, we found that while it's much slower
to link, full LTO still produces smaller binaries and that's quite
important for the Web platform.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants