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

fix(core): fix generated core.js file for debug builds 🎼 #12550

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

ermshiperete
Copy link
Contributor

Due to emscripten bug emscripten-core/emscripten#22754 specifying only webview as environment resulted in a broken core.js file when doing a debug build. In release builds things worked because of the -Wl,-O1 -O2 that meson added for the release build. This change works around that bug by adding web as additional environment.

@keymanapp-test-bot skip

@keymanapp-test-bot keymanapp-test-bot bot changed the title fix(core): fix generated core.js file for debug builds fix(core): fix generated core.js file for debug builds 🎼 Oct 16, 2024
@keymanapp-test-bot keymanapp-test-bot bot added this to the A18S13 milestone Oct 16, 2024
@github-actions github-actions bot added core/ Keyman Core fix labels Oct 16, 2024
Due to emscripten bug emscripten-core/emscripten#22754 specifying only
`webview` as environment resulted in a broken `core.js` file when doing
a debug build. In release builds things worked because of the
`-Wl,-O1 -O2` that meson added for the release build. This change works
around that bug by adding `web` as additional environment.
@mcdurdin
Copy link
Member

This change works around that bug by adding web as additional environment.

I imagine we'd want web as well as webview in any case?

@ermshiperete ermshiperete merged commit ebc5f82 into epic/web-core Oct 17, 2024
19 of 20 checks passed
@ermshiperete ermshiperete deleted the fix/core/debugbuild branch October 17, 2024 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants