Skip to content

Don't EXPORT_ALL for linkable code #7371

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 17 commits into from
Oct 30, 2018
Merged

Don't EXPORT_ALL for linkable code #7371

merged 17 commits into from
Oct 30, 2018

Conversation

kripken
Copy link
Member

@kripken kripken commented Oct 23, 2018

This is a breaking change, in which we no longer set EXPORT_ALL in MAIN_MODULEs and SIDE_MODULEs.

Fixes #5586, fixes #7189. See more context there.

@kripken kripken merged commit 0e946b3 into incoming Oct 30, 2018
@kripken kripken deleted the temp branch October 30, 2018 21:16
Beuc pushed a commit to Beuc/emscripten that referenced this pull request Nov 17, 2018
This is a breaking change, in which we no longer set EXPORT_ALL in MAIN_MODULEs and SIDE_MODULEs. This makes our linking behavior more "standard", and is more future-proof for wasm backend linking.

Fixes emscripten-core#5586, fixes emscripten-core#7189. See more context there.
@Mintyboi Mintyboi mentioned this pull request Jan 4, 2019
sbc100 added a commit that referenced this pull request Dec 20, 2019
This matches the current behavior of fastcomp since #7371 disabled
EXPORT_ALL for MAIN/SIDE_MODULEs.

Since most of our dylink tests set EXPORT_ALL this didn't get noticed.
sbc100 added a commit that referenced this pull request Dec 20, 2019
This matches the current behavior of fastcomp since #7371 disabled
EXPORT_ALL for MAIN/SIDE_MODULEs.

Since most of our dylink tests set EXPORT_ALL this didn't get noticed.
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.

MAIN_MODULE=3 to Whitelist Exported Functions WASM shared modules export unnecessary symbols even with -s MAIN_MODULE 2
1 participant