Skip to content

Conversation

@DavidPeicho
Copy link
Contributor

This is the continuity of #17911, and an attempt to fix #18814.

Copy link
Collaborator

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

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

lgtm! Can we add some tests though? At least one test for building with -sEXPORT_KEEPALIVE=0 in the normal runtime and one for -sEXPORT_KEEPALIVE= in the minimal runtime?

@DavidPeicho
Copy link
Contributor Author

@sbc100 Done! Fixed the comments and added two tests

@DavidPeicho DavidPeicho force-pushed the feature/export-keepalive branch from 0eac5df to fcb0809 Compare February 22, 2023 18:41
Copy link
Collaborator

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

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

lgtm % comments

@DavidPeicho
Copy link
Contributor Author

DavidPeicho commented Feb 22, 2023

@sbc100 Done! I had to make some gymnastic again for MINIMAL_RUNTIME because there is no export in it. Seems pretty good to me otherwise.

Took the liberty to also update the ChangeLog.

@DavidPeicho
Copy link
Contributor Author

Done :) I think the failing test happens also on master, doesn't look related to this MR.

@sbc100 sbc100 enabled auto-merge (squash) February 23, 2023 01:58
auto-merge was automatically disabled February 23, 2023 10:21

Head branch was pushed to by a user without write access

@DavidPeicho DavidPeicho force-pushed the feature/export-keepalive branch from 45d8735 to dea9657 Compare February 23, 2023 10:21
Copy link
Collaborator

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

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

lgtm, just a couple of more minor comments.

@DavidPeicho
Copy link
Contributor Author

@sbc100 Done :)

@DavidPeicho DavidPeicho force-pushed the feature/export-keepalive branch 2 times, most recently from 293b78a to e1c8123 Compare February 23, 2023 19:08
@sbc100 sbc100 enabled auto-merge (squash) February 25, 2023 02:04
auto-merge was automatically disabled February 25, 2023 17:08

Head branch was pushed to by a user without write access

@DavidPeicho DavidPeicho force-pushed the feature/export-keepalive branch from e01da91 to cefc557 Compare February 25, 2023 17:08
@DavidPeicho
Copy link
Contributor Author

@sbc100 The tests were red so I rebased on main. Should be good now

@sbc100 sbc100 merged commit b6d09b0 into emscripten-core:main Feb 27, 2023
impact-maker pushed a commit to impact-maker/emscripten that referenced this pull request Mar 17, 2023
impact-maker pushed a commit to impact-maker/emscripten that referenced this pull request Mar 17, 2023
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.

Feature Request: MINIMAL_RUNTIME + MODULARIZE selective export of symbols

2 participants