Skip to content

jsifier: Rename libraryFunction -> librarySymbols #17411

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

Merged
merged 1 commit into from
Jul 12, 2022
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Jul 11, 2022

Also, include all library symbols, not just functions, in the list which allows things
like wasm globals, numbers, and other elements to be linked into native code
and/or exported via DEFAULT_LIBRARY_FUNCS_TO_INCLUDE.

This allows us to remove the special __import decorator.

@sbc100 sbc100 force-pushed the rename_libraryFunctions branch from abadc89 to e4b8558 Compare July 11, 2022 21:54
@sbc100 sbc100 requested a review from kripken July 11, 2022 21:55
@sbc100 sbc100 enabled auto-merge (squash) July 11, 2022 22:59
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

Nice!

@sbc100 sbc100 merged commit fb8375f into main Jul 12, 2022
@sbc100 sbc100 deleted the rename_libraryFunctions branch July 12, 2022 16:03
xbcnn pushed a commit to xbcnn/emscripten that referenced this pull request Jul 22, 2022
aheejin added a commit to aheejin/emscripten that referenced this pull request Oct 3, 2022
It looks they are not necessary anymore since emscripten-core#17411.
`__asyncify_state__import` and `__asyncify_data__import` were added
after that when emscripten-core#15893 landed, and `__c_longjmp_import` was a typo in
the first place (there are only one `_` instead of two `_`s before
`import`) so it was likely not detected when other uses were removed.
aheejin added a commit that referenced this pull request Oct 4, 2022
It looks they are not necessary anymore since #17411.
`__asyncify_state__import` and `__asyncify_data__import` were added
after that when #15893 landed, and `__c_longjmp_import` was a typo in
the first place (there is only one `_` instead of two `_`s before
`import`) so it was likely not detected when other uses were removed.
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.

2 participants